From dbb63cb7fd60e7ad8fa09ef997724e1e7126b386 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 11 Jul 2010 13:38:37 -0400 Subject: openid: Fix handling of utf-8 nicknames. --- IkiWiki/Plugin/openid.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'IkiWiki') 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 { -- cgit v1.2.3