Index: trunk/phase3/includes/specials/SpecialIpblocklist.php |
— | — | @@ -211,6 +211,9 @@ |
212 | 212 | } |
213 | 213 | $ip = $block->getRedactedName(); |
214 | 214 | } else { |
| 215 | + # FIXME: do proper sanitisation/cleanup here |
| 216 | + $ip = str_replace( '_', ' ', $ip ); |
| 217 | + |
215 | 218 | $block = Block::newFromDB( $ip ); |
216 | 219 | if ( !$block ) { |
217 | 220 | return array( 'ipb_cant_unblock', htmlspecialchars( $id ) ); |