summaryrefslogtreecommitdiff
path: root/includes/WebRequest.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-05-06 23:34:10 +0200
committerPierre Schmitz <pierre@archlinux.de>2011-05-06 23:34:10 +0200
commit78677c7bbdcc9739f6c10c75935898a20e1acd9e (patch)
tree1c0710a98e60f3cf988def7a2879e3489269cb91 /includes/WebRequest.php
parent75abb5292328bdb07a91ad7229a121ab3446569d (diff)
update to MediaWiki 1.16.5
Diffstat (limited to 'includes/WebRequest.php')
-rw-r--r--includes/WebRequest.php2
1 files changed, 1 insertions, 1 deletions
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