aboutsummaryrefslogtreecommitdiff
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
parent8ce1bea634a3e8cef7c12b76377ae5cdbb6eb4ea (diff)
downloadikiwiki-dbb63cb7fd60e7ad8fa09ef997724e1e7126b386.tar
ikiwiki-dbb63cb7fd60e7ad8fa09ef997724e1e7126b386.tar.gz
openid: Fix handling of utf-8 nicknames.
-rw-r--r--IkiWiki/Plugin/openid.pm3
-rw-r--r--debian/changelog1
2 files changed, 3 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 {
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 <joeyh@debian.org> Mon, 05 Jul 2010 13:59:42 -0400