From dbb63cb7fd60e7ad8fa09ef997724e1e7126b386 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 11 Jul 2010 13:38:37 -0400 Subject: [PATCH] openid: Fix handling of utf-8 nicknames. --- IkiWiki/Plugin/openid.pm | 3 ++- debian/changelog | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.32.0.93.g670b81a890