Added patch 103186 -- $HTTPS variable checking to case insensitive.
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 15 Jan 2001 03:08:27 +0000 (03:08 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 15 Jan 2001 03:08:27 +0000 (03:08 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@936 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/strings.php

index 2f89348fedbc4ce9dd5022c52bd0d744c74ab8ab..7027564ad8cd3a82ecc485ff0c1865da50efd319 100644 (file)
    
       // Check if this is a HTTPS or regular HTTP request
       $proto = "http://";
-      if(isset($HTTPS) && $HTTPS == 'on' ) {
+      if(isset($HTTPS) && !strcasecmp($HTTPS, 'on') ) {
         $proto = "https://";
       }