From 23202744d7d0e2888bfc7da236f1046e84c94d13 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 22 Mar 2010 12:11:45 +0000 Subject: [PATCH] ampersand-at-the-end-of-url fix provided by zorg --- redirect.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redirect.php b/redirect.php index 9057ffe256..13a72803d0 100644 --- a/redirect.php +++ b/redirect.php @@ -36,7 +36,7 @@ { $url= html_entity_decode(urldecode($_GET['go'])); unset($_GET['go']); - $url=$url."&".http_build_query($_GET); + if (!empty($_GET)) $url=$url."&".http_build_query($_GET); Header('Location: ' . html_entity_decode(urldecode($url))); exit;