From d9c28b9de29dbabcf4c500de78d2287783124ab5 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 19 Jun 2009 08:28:03 +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