https://bugzilla.wikimedia.org/show_bug.cgi?id=33471
Web browser: ---
Bug #: 33471
Summary: $wgCookieSecure = 'detect' fails when $wgServer is
protocol-relative
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General/Unknown
AssignedTo: [email protected]
ReportedBy: [email protected]
Blocks: 20342
Classification: Unclassified
Snippet from Setup:
if ( $wgCookieSecure === 'detect' ) {
$wgCookieSecure = ( substr( $wgServer, 0, 6 ) === 'https:' );
}
Should probably use WebRequest::detectProtocol() instead.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l