Page MenuHomePhabricator

Special:Blockip forgets URL escape
Closed, ResolvedPublic

Description

Author: tietew-mediazilla

Description:

Index: includes/SpecialBlockip.php

RCS file: /cvsroot/wikipedia/phase3/includes/SpecialBlockip.php,v
retrieving revision 1.21
diff -p -u -2 -r1.21 SpecialBlockip.php

  • includes/SpecialBlockip.php 26 Apr 2004 07:35:20 -0000 1.21

+++ includes/SpecialBlockip.php 5 Nov 2004 09:10:26 -0000
@@ -160,5 +160,6 @@ class IPBlockForm {

    1. 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 ) ) );

	}

Version: unspecified
Severity: normal

Details

Reference
bz829

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 7:00 PM
bzimport set Reference to bz829.
bzimport added a subscriber: Unknown Object (MLST).

Patch applied to REL1_4 and HEAD.