]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/CGI.pm
comments: add regression test for sorting by date
[git.ikiwiki.info.git] / IkiWiki / CGI.pm
index a372f73514b52363f3a7c9a2c6ad6e36908267fb..6a04decb617571c9a8f6ea6e206663f177bd24de 100644 (file)
@@ -12,7 +12,7 @@ use Encode;
 sub printheader ($) {
        my $session=shift;
        
-       if (($ENV{HTTPS} && $ENV{HTTPS} ne "off") || $config{sslcookie}) {
+       if (($ENV{HTTPS} && lc $ENV{HTTPS} ne "off") || $config{sslcookie}) {
                print $session->header(-charset => 'utf-8',
                        -cookie => $session->cookie(-httponly => 1, -secure => 1));
        }