https://bugzilla.wikimedia.org/show_bug.cgi?id=46511

--- Comment #3 from Jaroslav Škarvada <jskar...@redhat.com> ---
(In reply to comment #2)
> (In reply to comment #1)
> > Created attachment 11983 [details]
> > Proposed fix for mediawiki-1.16
> > 
> Maybe the check should be against '' and not 'off' to be according to the PHP
> docs.

ISAPI with IIS uses 'off', so probably the following could be OK:

$wgProto = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != '' &&
$_SERVER['HTTPS'] != 'off') ? 'https' : 'http';

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to