*** empty log message ***
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 17 Sep 2003 01:33:58 +0000 (01:33 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 17 Sep 2003 01:33:58 +0000 (01:33 +0000)
includes/SpecialBlockip.php

index b56b1d2..fe52461 100644 (file)
@@ -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 ) {