diff options
| author | Jules Laplace <carbon@melanarchy.org> | 2015-05-22 15:25:11 -0500 |
|---|---|---|
| committer | Jules Laplace <carbon@melanarchy.org> | 2015-05-22 15:25:11 -0500 |
| commit | ca77a587da9ec393bceda87c2ec8dda096e2890d (patch) | |
| tree | e15f868d5d06c91e56e348ec8bf26c9f9ea5071f /lib/cookies.pm | |
| parent | 2f4aebe8139faff0e6456676fd83bf5c0e4e3c4d (diff) | |
demand https and other kewl stuff
Diffstat (limited to 'lib/cookies.pm')
| -rw-r--r-- | lib/cookies.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/cookies.pm b/lib/cookies.pm index 559e80a..23e560b 100644 --- a/lib/cookies.pm +++ b/lib/cookies.pm @@ -30,8 +30,9 @@ sub setCookie print "Set-Cookie: "; print $name, "=", $value, "; "; if ($date) { print "expires=$date; "; } -# print "path=", $path, "; domain=", $domain, "; secure\n"; - print "path=", $path, "; domain=", $domain, "\n"; + # use first line to force HTTPS + print "path=", $path, "; domain=", $domain, "; secure\n"; +# print "path=", $path, "; domain=", $domain, "\n"; } |
