From 75abb5292328bdb07a91ad7229a121ab3446569d Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 17 Apr 2011 11:49:55 +0200 Subject: update to MediaWiki 1.16.4 --- 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 8a0ef48b..a1d02d9c 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-z]{1,4}$/i', $_SERVER['QUERY_STRING'] ) ) + && preg_match( '/\.[a-z0-9]{1,4}(#|\?|$)/i', $_SERVER['QUERY_STRING'] ) ) { // Bug 28235 // Block only Internet Explorer, and requests with missing UA -- cgit v1.2.3-54-g00ecf