aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-07-11 13:38:37 -0400
committerJoey Hess <joey@kitenet.net>2010-07-11 13:38:37 -0400
commitdbb63cb7fd60e7ad8fa09ef997724e1e7126b386 (patch)
treefbb0493de34ab3d8298f5c2c4992eab0e6224882 /IkiWiki
parent8ce1bea634a3e8cef7c12b76377ae5cdbb6eb4ea (diff)
downloadikiwiki-dbb63cb7fd60e7ad8fa09ef997724e1e7126b386.tar
ikiwiki-dbb63cb7fd60e7ad8fa09ef997724e1e7126b386.tar.gz
openid: Fix handling of utf-8 nicknames.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/openid.pm3
1 files changed, 2 insertions, 1 deletions
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 {