From ccb27f0b59268c4f9f178fed85ccd3d8dc2a19a1 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Tue, 12 Apr 2011 01:26:17 +0000 Subject: [PATCH] Check all MSIE requests since we also want to protect IE 3-5 etc. --- includes/WebRequest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.20.1