summaryrefslogtreecommitdiff
path: root/doc/bugs/unicode_chars_in_wikiname_break_auth.mdwn
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2008-10-20 14:33:19 +0200
committerintrigeri <intrigeri@boum.org>2008-10-20 14:33:19 +0200
commitfadb26bc1507f7fc2caaa873ad32c12f75c378aa (patch)
tree7ee389c28208e236cc4da4c3c51dbe9eae9234f0 /doc/bugs/unicode_chars_in_wikiname_break_auth.mdwn
parent654adc105e008b57aa5b9700d7aece2a0f7b0682 (diff)
parent4a958e0c1e1d3f49c665c5d4aa89214ecbd61bdd (diff)
Merge commit 'origin/master' into prv/po
Diffstat (limited to 'doc/bugs/unicode_chars_in_wikiname_break_auth.mdwn')
-rw-r--r--doc/bugs/unicode_chars_in_wikiname_break_auth.mdwn16
1 files changed, 16 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
new file mode 100644
index 000000000..5d5e90f7a
--- /dev/null
+++ b/doc/bugs/unicode_chars_in_wikiname_break_auth.mdwn
@@ -0,0 +1,16 @@
+I spent hours trying to understand why my wiki suddenly refused me to log in (using passwordauth).
+The failure message was always: `login failed, perhaps you need to turn on cookies?`
+
+Inspecting the cookie information (thanks to Iceweasel's webdeveloper add-on), I realized there were some weird-looking encoded chars in the cookie name.
+
+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`.)
+
+> Thanks for the heads up, fixed that too. --[[Joey]]