--- Comment #12 from Jaroslav Škarvada <> ---
It seems the problem with the Amazon WS load balancer was already resolved in
the GIT, but the issue with the $_SERVER['HTTPS'] seems still to be unresolved.

The problem is that $_SERVER['HTTPS'] == 'on' is used in the MediaWiki for
detections of the HTTPS protocol which is not correct according to PHP
documentation [1], citing:

    Set to a non-empty value if the script was queried through the HTTPS

        Note: Note that when using ISAPI with IIS, the value will be off if the
request was not made through the HTTPS protocol. 

I also saw implementation where it was set to '1' instead of 'on'. So to be in
sync with the PHP documentation I think it should use:
$_SERVER['HTTPS'] != '' && $_SERVER['HTTPS'] != 'off'
instead of:
$_SERVER['HTTPS'] == 'on'

I will post the patch through Gerrit.


You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to