X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/9a32451986c710d1f1ce71217c1f7ab3b84f72bf..9b9ecda62f893a2109ccdb6bcdb2358f217f7fef:/IkiWiki/Plugin/openid.pm diff --git a/IkiWiki/Plugin/openid.pm b/IkiWiki/Plugin/openid.pm index d393afd23..fae9fb77f 100644 --- a/IkiWiki/Plugin/openid.pm +++ b/IkiWiki/Plugin/openid.pm @@ -211,8 +211,8 @@ sub auth ($$) { } } if (defined $nickname) { - $nickname=~s/\s+/_/g; - $session->param(nickname => $nickname); + $session->param(nickname => + Encode::decode_utf8($nickname)); } } else {