detect sslcookie set and no https
authorJoey Hess <joey@gnu.kitenet.net>
Thu, 26 Feb 2009 06:59:05 +0000 (01:59 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Thu, 26 Feb 2009 06:59:05 +0000 (01:59 -0500)
commit158c6c3ac8a8975741587b55a298f10e632e993e
tree9e65dcc68327aaed2e952ff4ed09f768185676f8
parent2e0dec2ffcab5af04f5e6c3e1e3504a7aca9e56e
detect sslcookie set and no https

This is likely a misconfiguration and can cause login to fail as the
browser refuses the send the session cookie back over http.

Not entirely happy with putting the check where I did, since users have to
try to log in, and fail, to see the misconfiguration explained. But I could
not find a better place to put the check.
IkiWiki/CGI.pm