Remove trailing spaces from IP addr in Special:DeletedContributions
[lhc/web/wiklou.git] / includes / specials / SpecialDeletedContributions.php
index 3f87712..e4672f8 100644 (file)
@@ -73,7 +73,7 @@ class DeletedContributionsPage extends SpecialPage {
 
                $this->mOpts = $opts;
 
-               $target = $opts->getValue( 'target' );
+               $target = trim( $opts->getValue( 'target' ) );
                if ( !strlen( $target ) ) {
                        $this->getForm();