mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 14:17:49 +02:00
Clean-up $url query before redirect.
This commit is contained in:
@@ -335,6 +335,8 @@ class redirection
|
|||||||
*/
|
*/
|
||||||
public function go($url, $replace = TRUE, $http_response_code = NULL, $preventCache = true)
|
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())
|
if(session_id())
|
||||||
{
|
{
|
||||||
e107::getSession()->end();
|
e107::getSession()->end();
|
||||||
|
Reference in New Issue
Block a user