From f8710f255cc56f573891e756174168af219c5c95 Mon Sep 17 00:00:00 2001 From: csteipp Date: Wed, 26 Sep 2012 17:20:15 -0700 Subject: [PATCH] (bug 33471) compare detectProtocol to 'https' Extra ':' was added to the comparison string in gerrit change I6adc7e3e Change-Id: I3ff7274f6aa006b5cb9dcc3d2c44721f25a0fc8f --- includes/Setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Setup.php b/includes/Setup.php index 924c3c07be..5c5d7d141f 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -369,7 +369,7 @@ if ( $wgNewUserLog ) { } if ( $wgCookieSecure === 'detect' ) { - $wgCookieSecure = ( WebRequest::detectProtocol() === 'https:' ); + $wgCookieSecure = ( WebRequest::detectProtocol() === 'https' ); } // Disable MWDebug for command line mode, this prevents MWDebug from eating up -- 2.20.1