aboutsummaryrefslogtreecommitdiffstats
path: root/includes/WebResponse.php
diff options
context:
space:
mode:
authorKevin Israel <pleasestand@live.com>2014-03-20 21:19:08 -0400
committerKevin Israel <pleasestand@live.com>2014-03-20 21:19:08 -0400
commit00b7f76aaf2037cbb084b4f80b5ec3c9e2a7a88a (patch)
treec62d83a55eac6f6de2bd59f152e8c049085c2d01 /includes/WebResponse.php
parent96024533a65be7d966cce4ebe4f4a6e89805810a (diff)
downloadmediawikicore-00b7f76aaf2037cbb084b4f80b5ec3c9e2a7a88a.tar.gz
mediawikicore-00b7f76aaf2037cbb084b4f80b5ec3c9e2a7a88a.zip
Remove $wgHttpOnlyBlacklist
This hack was added in r34083 / 6b16f4410897 to support IE for Mac. That browser is no longer supported, and no additional user-agent strings have been added in WMF configuration. Change-Id: Iffba121a9964e2ad387fad8827ddfd8dabcbd12e
Diffstat (limited to 'includes/WebResponse.php')
-rw-r--r--includes/WebResponse.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/includes/WebResponse.php b/includes/WebResponse.php
index ab7524c22e19..a3dadd088a1d 100644
--- a/includes/WebResponse.php
+++ b/includes/WebResponse.php
@@ -88,12 +88,6 @@ class WebResponse {
$expire = time() + $wgCookieExpiration;
}
- // Don't mark the cookie as httpOnly if the requesting user-agent is
- // known to have trouble with httpOnly cookies.
- if ( !wfHttpOnlySafe() ) {
- $options['httpOnly'] = false;
- }
-
$func = $options['raw'] ? 'setrawcookie' : 'setcookie';
if ( wfRunHooks( 'WebResponseSetCookie', array( &$name, &$value, &$expire, $options ) ) ) {