(bug 33471) compare detectProtocol to 'https'
authorcsteipp <csteipp@wikimedia.org>
Thu, 27 Sep 2012 00:20:15 +0000 (17:20 -0700)
committercsteipp <csteipp@wikimedia.org>
Thu, 27 Sep 2012 00:20:15 +0000 (17:20 -0700)
Extra ':' was added to the comparison string in gerrit change I6adc7e3e

Change-Id: I3ff7274f6aa006b5cb9dcc3d2c44721f25a0fc8f

includes/Setup.php

index 924c3c0..5c5d7d1 100644 (file)
@@ -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