]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/openid.pm
htmlscrubber: Do not scrub url anchors that contain colons.
[git.ikiwiki.info.git] / IkiWiki / Plugin / openid.pm
index d393afd2363be34a455d76f9b4442a54d00366ce..fae9fb77f8388a9e750b1d8e7dfdcee700f76a92 100644 (file)
@@ -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 {