1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 06:07:32 +02:00

Clean-up $url query before redirect.

This commit is contained in:
Cameron
2014-08-05 11:59:51 -07:00
parent 4a3c839cde
commit 96108c3644

View File

@@ -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();