diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-09-11 16:24:05 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-09-11 16:24:05 +0000 |
commit | 1e7be2d3ddd28c9437b099d88575c8ec70f4041c (patch) | |
tree | 63bfd1efe0bc7f9c4cfb8f42dcfb447b5053febf /IkiWiki | |
parent | c439d5a8abcbdac5e00e32362413cbe29c2d8f0e (diff) |
* Patch from Recai to kill utf-8 on the wiki name when generating the
session cookie.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/CGI.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index 074971be1..01c5812ef 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -614,7 +614,7 @@ sub cgi () { #{{{ cgi_hyperestraier(); } - CGI::Session->name("ikiwiki_session_$config{wikiname}"); + CGI::Session->name("ikiwiki_session_".encode_utf8($config{wikiname})); my $oldmask=umask(077); my $session = CGI::Session->new("driver:DB_File", $q, |