From 00b7f76aaf2037cbb084b4f80b5ec3c9e2a7a88a Mon Sep 17 00:00:00 2001 From: Kevin Israel Date: Thu, 20 Mar 2014 21:19:08 -0400 Subject: 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 --- includes/WebResponse.php | 6 ------ 1 file changed, 6 deletions(-) (limited to 'includes/WebResponse.php') 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 ) ) ) { -- cgit v1.2.3