Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
updating the docs in keeping with latest version - multi-page reports
[git.ikiwiki.info.git]
/
IkiWiki
/
CGI.pm
diff --git
a/IkiWiki/CGI.pm
b/IkiWiki/CGI.pm
index e0bfda9ae06d9685a4e4eaed5f8557963560c652..ede194ff9aee945dc0fb471bedaa47bf93eda829 100644
(file)
--- a/
IkiWiki/CGI.pm
+++ b/
IkiWiki/CGI.pm
@@
-12,7
+12,7
@@
use Encode;
sub printheader ($) {
my $session=shift;
- if ($config{sslcookie}) {
+ if ($
ENV{HTTPS} || $
config{sslcookie}) {
print $session->header(-charset => 'utf-8',
-cookie => $session->cookie(-httponly => 1, -secure => 1));
}