diff --git a/index.php b/index.php index 77481ecdf..2ac1e94ab 100644 --- a/index.php +++ b/index.php @@ -156,10 +156,17 @@ { $redirect = e107::getParser()->replaceConstants($newLocation); list($file,$query) = explode("?",$redirect,2); - + + $get = array(); if(!empty($query)) { - parse_str($query,$_GET); + parse_str($query,$get); + } + + + foreach($get as $gk=>$gv) + { + $_GET[$gk] = $gv; } e107::getDebug()->log('e_URL in '.$plug.' with key: '.$k.' matched '.$v['regex'].' and included: '.$file.' with $_GET: '.print_a($_GET,true),1);