From 96108c364407dd26021577ea6a33f9cb019b5102 Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 5 Aug 2014 11:59:51 -0700 Subject: [PATCH] Clean-up $url query before redirect. --- e107_handlers/redirection_class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/e107_handlers/redirection_class.php b/e107_handlers/redirection_class.php index f94a9d329..a6bdbc920 100644 --- a/e107_handlers/redirection_class.php +++ b/e107_handlers/redirection_class.php @@ -335,6 +335,8 @@ class redirection */ public function go($url, $replace = TRUE, $http_response_code = NULL, $preventCache = true) { + $url = str_replace("&", "&", $url); // cleanup when using e_QUERY in $url; + if(session_id()) { e107::getSession()->end();