From 78677c7bbdcc9739f6c10c75935898a20e1acd9e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 6 May 2011 23:34:10 +0200 Subject: update to MediaWiki 1.16.5 --- includes/WebRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/WebRequest.php') diff --git a/includes/WebRequest.php b/includes/WebRequest.php index a1d02d9c..877f7cf6 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -697,7 +697,7 @@ class WebRequest { global $wgScriptExtension; if ( isset( $_SERVER['QUERY_STRING'] ) - && preg_match( '/\.[a-z0-9]{1,4}(#|\?|$)/i', $_SERVER['QUERY_STRING'] ) ) + && preg_match( '/\.[^\\/:*?"<>|%]+(#|\?|$)/i', $_SERVER['QUERY_STRING'] ) ) { // Bug 28235 // Block only Internet Explorer, and requests with missing UA -- cgit v1.2.3-54-g00ecf