From: Tim Starling Date: Wed, 17 Sep 2003 01:33:58 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: 1.1.0~264 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22lang_raccourcis%22%2C%22module=%24nom_module%22%29%20.%20%22?a=commitdiff_plain;h=6e4bc32f494388405254fbb2ae37e5ac6b4257d9;p=lhc%2Fweb%2Fwiklou.git *** empty log message *** --- diff --git a/includes/SpecialBlockip.php b/includes/SpecialBlockip.php index b56b1d2dd6..fe52461bd8 100644 --- a/includes/SpecialBlockip.php +++ b/includes/SpecialBlockip.php @@ -62,7 +62,7 @@ class IPBlockForm { global $ip, $wpBlockAddress, $wpBlockReason, $wgSysopUserBans; $userId = 0; - if ( ! preg_match( "/\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}/", + if ( ! preg_match( "/^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$/", $wpBlockAddress ) ) { if ( $wgSysopUserBans ) {