From 4c3cb299d3c60f83ae9066a57eb223db5fa687fc Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Wed, 26 Aug 2009 11:54:12 +0000 Subject: [PATCH] redirection via go, by rebuilding the query string; suggested by zorg; seems to work without sideeffects in my enviroment; please give feedback to the '[eGroupWare-developers] bug with notification,felamimail and redirect' entry --- redirect.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/redirect.php b/redirect.php index 89d2707e62..9057ffe256 100644 --- a/redirect.php +++ b/redirect.php @@ -34,7 +34,11 @@ if($_GET['go']) { - Header('Location: ' . html_entity_decode(urldecode($_GET['go']))); + $url= html_entity_decode(urldecode($_GET['go'])); + unset($_GET['go']); + $url=$url."&".http_build_query($_GET); + + Header('Location: ' . html_entity_decode(urldecode($url))); exit; } else