]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/openid.pm
(no commit message)
[git.ikiwiki.info.git] / IkiWiki / Plugin / openid.pm
index 4727577f342587bc1e99fdc77c8afb1a42bdb91e..fae9fb77f8388a9e750b1d8e7dfdcee700f76a92 100644 (file)
@@ -211,9 +211,8 @@ sub auth ($$) {
                                }
                        }
                        if (defined $nickname) {
-                               $nickname=~s/\s+/_/g;
-                               $nickname=~s/[^-_0-9[:alnum:]]+//g;
-                               $session->param(nickname => $nickname);
+                               $session->param(nickname =>
+                                       Encode::decode_utf8($nickname));
                        }
                }
                else {