From: Joey Hess Date: Sun, 11 Jul 2010 17:38:37 +0000 (-0400) Subject: openid: Fix handling of utf-8 nicknames. X-Git-Url: https://scripts.mit.edu/gitweb/www/ikiwiki.git/commitdiff_plain/dbb63cb7fd60e7ad8fa09ef997724e1e7126b386 openid: Fix handling of utf-8 nicknames. --- diff --git a/IkiWiki/Plugin/openid.pm b/IkiWiki/Plugin/openid.pm index b1a9a7a15..fae9fb77f 100644 --- a/IkiWiki/Plugin/openid.pm +++ b/IkiWiki/Plugin/openid.pm @@ -211,7 +211,8 @@ sub auth ($$) { } } if (defined $nickname) { - $session->param(nickname => $nickname); + $session->param(nickname => + Encode::decode_utf8($nickname)); } } else { diff --git a/debian/changelog b/debian/changelog index c340f8901..3a581cccb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Mon, 05 Jul 2010 13:59:42 -0400