From: Brion Vibber Date: Sat, 29 Jan 2005 07:43:30 +0000 (+0000) Subject: * (bug 829) Fix URL-escaping on block success X-Git-Tag: 1.5.0alpha1~822 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=574ee8d49b9a40c074046d8402f683e2aa8f7a11;p=lhc%2Fweb%2Fwiklou.git * (bug 829) Fix URL-escaping on block success --- diff --git a/includes/SpecialBlockip.php b/includes/SpecialBlockip.php index e83e99095f..5987a9ccc3 100644 --- a/includes/SpecialBlockip.php +++ b/includes/SpecialBlockip.php @@ -175,7 +175,8 @@ class IPBlockForm { # Report to the user $titleObj = Title::makeTitle( NS_SPECIAL, 'Blockip' ); - $wgOut->redirect( $titleObj->getFullURL( 'action=success&ip='.$this->BlockAddress ) ); + $wgOut->redirect( $titleObj->getFullURL( 'action=success&ip=' . + urlencode( $this->BlockAddress ) ) ); } }