From 16f32d4aa92139c9ccdef7ab10193a7c55be6aec Mon Sep 17 00:00:00 2001 From: fidian Date: Mon, 15 Jan 2001 03:08:27 +0000 Subject: [PATCH] Added patch 103186 -- $HTTPS variable checking to case insensitive. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@936 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/strings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/strings.php b/functions/strings.php index 2f89348f..7027564a 100644 --- a/functions/strings.php +++ b/functions/strings.php @@ -242,7 +242,7 @@ // 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://"; } -- 2.25.1