redirection via go, by rebuilding the query string; suggested by zorg; seems to work without sideeffects in my enviroment;

This commit is contained in:
Klaus Leithoff 2009-06-19 08:42:36 +00:00
parent 380f9a9667
commit 4825ffaf0d

View File

@ -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