Page MenuHomePhabricator

meta:Special:BannerLoader is loaded using http protocol when using secure server (https)
Closed, ResolvedPublic


Special:BannerLoader should also be loaded from if you are using https not not make an unencrypted request to

Version: unspecified
Severity: major



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:19 PM
bzimport set Reference to bz27448.

reverted with r83713

change to shell request:

Please change in CommonSettings.php (see wgNoticeCentralPath there)

$wgCentralPagePath = '';


if( $secure ) {
$wgCentralPagePath = '';
} else {
$wgCentralPagePath = '';


I was thinking maybe we could introduce a function like this:

function wfMatchProto( $path_variable )
global $wgProto;
if( is_array( $path_variable ) ) {

		foreach( $path_variable as $value ) {
			if( !strncasecmp( $value, $wgProto, strlen( $wgProto) ) )
				return $value;

return $path_variable;

and then just (backwardly compatible) introduce variables like:

$wgCentralPagePath = array("", "");

Just an idea...

The code for switching vars based on secure server is already in CommonSettings.php, I just need to put the secure value in there. Should be able to fix next week.

Restricted Application added subscribers: JEumerus, Matanya. · View Herald Transcript