From: Tim Starling Date: Tue, 12 Apr 2011 01:26:17 +0000 (+0000) Subject: Check all MSIE requests since we also want to protect IE 3-5 etc. X-Git-Tag: 1.31.0-rc.0~30921 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=ccb27f0b59268c4f9f178fed85ccd3d8dc2a19a1;p=lhc%2Fweb%2Fwiklou.git Check all MSIE requests since we also want to protect IE 3-5 etc. --- diff --git a/includes/WebRequest.php b/includes/WebRequest.php index 67a9bc2fec..d5ec821704 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -788,10 +788,10 @@ class WebRequest { && preg_match( '/\.[a-z]{1,4}$/i', $_SERVER['QUERY_STRING'] ) ) { // Bug 28235 - // Block only Internet Explorer 6, and requests with missing UA + // Block only Internet Explorer, and requests with missing UA // headers that could be IE users behind a privacy proxy. if ( !isset( $_SERVER['HTTP_USER_AGENT'] ) - || preg_match( '/; *MSIE 6/', $_SERVER['HTTP_USER_AGENT'] ) ) + || preg_match( '/; *MSIE/', $_SERVER['HTTP_USER_AGENT'] ) ) { return true; }