* Patch from Recai to kill utf-8 on the wiki name when generating the
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 11 Sep 2006 16:24:05 +0000 (16:24 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 11 Sep 2006 16:24:05 +0000 (16:24 +0000)
  session cookie.

IkiWiki/CGI.pm
debian/changelog

index 074971be1d19e4710ba953ab39003fab1de96094..01c5812ef03dd134c8078d40b25d7b6c1d066395 100644 (file)
@@ -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,
index 7eb45e0211e1eb641c0a274efff74c7a48a0686c..5b77574a9e2b883e75111e2b72bf782b48d86f62 100644 (file)
@@ -25,6 +25,8 @@ ikiwiki (1.27) UNRELEASED; urgency=low
   * If an inlined page has a permalink, link the page title to that.
   * Patch from Recai to use utf8 when reading the setup file, so that
     utf8 wikinames from there will be used properly.
+  * Patch from Recai to kill utf-8 on the wiki name when generating the
+    session cookie.
 
  -- Joey Hess <joeyh@debian.org>  Sun, 10 Sep 2006 14:06:01 -0400