From: Brion Vibber Date: Sun, 30 Jan 2005 02:37:56 +0000 (+0000) Subject: Fix URL used to redirect X-Git-Tag: 1.5.0alpha1~821 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=ae98c0f83f59f0de67bf83632afb72fed8a367aa;p=lhc%2Fweb%2Fwiklou.git Fix URL used to redirect --- diff --git a/includes/SpecialMycontributions.php b/includes/SpecialMycontributions.php index b958fdc90c..7d83d6d03e 100644 --- a/includes/SpecialMycontributions.php +++ b/includes/SpecialMycontributions.php @@ -9,6 +9,7 @@ function wfSpecialMycontributions() { global $wgUser, $wgOut; $t = Title::makeTitle( NS_SPECIAL, 'Contributions' ); - $wgOut->redirect ( $t->getFullURL().'&target='.$wgUser->getName() ); + $url = $t->getFullURL( 'target=' . urlencode( $wgUser->getName() ) ); + $wgOut->redirect( $url ); } ?> \ No newline at end of file