Set cookies HttpOnly.
parent
9b21a540dd
commit
2a29641097
|
@ -14,9 +14,10 @@ sub printheader ($) { #{{{
|
||||||
|
|
||||||
if ($config{sslcookie}) {
|
if ($config{sslcookie}) {
|
||||||
print $session->header(-charset => 'utf-8',
|
print $session->header(-charset => 'utf-8',
|
||||||
-cookie => $session->cookie(-secure => 1));
|
-cookie => $session->cookie(-httponly => 1, -secure => 1));
|
||||||
} else {
|
} else {
|
||||||
print $session->header(-charset => 'utf-8');
|
print $session->header(-charset => 'utf-8',
|
||||||
|
-cookie => $session->cookie(-httponly => 1));
|
||||||
}
|
}
|
||||||
} #}}}
|
} #}}}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
ikiwiki (2.62.2) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* Set cookies HttpOnly.
|
||||||
|
|
||||||
|
-- Joey Hess <joeyh@debian.org> Thu, 28 Aug 2008 16:08:18 -0400
|
||||||
|
|
||||||
ikiwiki (2.62.1) unstable; urgency=low
|
ikiwiki (2.62.1) unstable; urgency=low
|
||||||
|
|
||||||
* filecheck: Fixed two bits broken in move from attachment.
|
* filecheck: Fixed two bits broken in move from attachment.
|
||||||
|
|
Loading…
Reference in New Issue