]> sipb.mit.edu Git - ikiwiki.git/commitdiff
openid: Fix handling of utf-8 nicknames.
authorJoey Hess <joey@kitenet.net>
Sun, 11 Jul 2010 17:38:37 +0000 (13:38 -0400)
committerJoey Hess <joey@kitenet.net>
Sun, 11 Jul 2010 17:38:37 +0000 (13:38 -0400)
IkiWiki/Plugin/openid.pm
debian/changelog

index b1a9a7a152866090f2008f0c5ef8ba94771a929a..fae9fb77f8388a9e750b1d8e7dfdcee700f76a92 100644 (file)
@@ -211,7 +211,8 @@ sub auth ($$) {
                                }
                        }
                        if (defined $nickname) {
-                               $session->param(nickname => $nickname);
+                               $session->param(nickname =>
+                                       Encode::decode_utf8($nickname));
                        }
                }
                else {
index c340f89019fdd848efd11badfea67f159c3cc465..3a581cccb9489e185d12fccf0b1ee240caa24175 100644 (file)
@@ -7,6 +7,7 @@ ikiwiki (3.20100705) UNRELEASED; urgency=low
     .ikiwiki/aggregatetime, to allow for more sophisticated cron jobs.
   * Add --changesetup mode that allows easily changing options in a
     setup file.
+  * openid: Fix handling of utf-8 nicknames.
 
  -- Joey Hess <joeyh@debian.org>  Mon, 05 Jul 2010 13:59:42 -0400