From: csteipp Date: Thu, 27 Sep 2012 00:20:15 +0000 (-0700) Subject: (bug 33471) compare detectProtocol to 'https' X-Git-Tag: 1.31.0-rc.0~22260^2 X-Git-Url: http://git.cyclocoop.org/%22.%24redirect_annul.%22?a=commitdiff_plain;h=f8710f255cc56f573891e756174168af219c5c95;p=lhc%2Fweb%2Fwiklou.git (bug 33471) compare detectProtocol to 'https' Extra ':' was added to the comparison string in gerrit change I6adc7e3e Change-Id: I3ff7274f6aa006b5cb9dcc3d2c44721f25a0fc8f --- 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