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 2f89348..7027564 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://";
       }