summaryrefslogtreecommitdiff
path: root/doc/bugs
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-10-19 21:07:12 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-10-19 21:07:12 -0400
commit3e992b758b0d7e96f369372340b95d8ef4302aae (patch)
tree7f7447795fb8fc33e0db0afafa0e21cf725f726e /doc/bugs
parentfd9393ef8575ad4a8966ae7f5310aab688dedf48 (diff)
Fix issue with utf-8 in wikiname breaking session cookies, by entity-encoding the wikiname in the session cookie.
Diffstat (limited to 'doc/bugs')
-rw-r--r--doc/bugs/unicode_chars_in_wikiname_break_auth.mdwn6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/bugs/unicode_chars_in_wikiname_break_auth.mdwn b/doc/bugs/unicode_chars_in_wikiname_break_auth.mdwn
index c272d4b4f..7c71ff0ff 100644
--- a/doc/bugs/unicode_chars_in_wikiname_break_auth.mdwn
+++ b/doc/bugs/unicode_chars_in_wikiname_break_auth.mdwn
@@ -5,4 +5,10 @@ Inspecting the cookie information (thanks to Iceweasel's webdeveloper add-on), I
Replacing "ยท" with "-" in `wikiname` fixed this login issue.
+> Hmm, Recai sent me a patch a long time ago to handle utf-8 here by encoding
+> the wikiname. But it doesn't seem to work, somehow the encoded utf-8
+> value still doesn't make it through. (CGI::Session seems to have underermined utf-8
+> issues too.) Seems like I will have to possibly break some sessions and
+> entity-encode the wikiname in the cookie.. done. --[[Joey]]
+
(BTW, such a char was replaced by -I don't remember what encoding thingie- in my setup file, when running `ikiwiki-transition setupformat`.)