From ae98c0f83f59f0de67bf83632afb72fed8a367aa Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 30 Jan 2005 02:37:56 +0000 Subject: [PATCH] Fix URL used to redirect --- includes/SpecialMycontributions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.20.1