]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/CGI.pm
table: Support header=column to make the table header be the first column of the...
[ikiwiki.git] / IkiWiki / CGI.pm
index a050434782c6445d8cb9d05738305bee3ea5833e..6f5d8aee65d2a8b20333be29fba60df15786f569 100644 (file)
@@ -14,9 +14,10 @@ sub printheader ($) { #{{{
        
        if ($config{sslcookie}) {
                print $session->header(-charset => 'utf-8',
-                       -cookie => $session->cookie(-secure => 1));
+                       -cookie => $session->cookie(-httponly => 1, -secure => 1));
        } else {
-               print $session->header(-charset => 'utf-8');
+               print $session->header(-charset => 'utf-8',
+                       -cookie => $session->cookie(-httponly => 1));
        }
 } #}}}