From 574ee8d49b9a40c074046d8402f683e2aa8f7a11 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 29 Jan 2005 07:43:30 +0000 Subject: [PATCH] * (bug 829) Fix URL-escaping on block success --- includes/SpecialBlockip.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ) ) ); } } -- 2.20.1