GX-Bug #45737 » RedirectFix.patch
src/includes/application_top.php (revision ) | ||
---|---|---|
796 | 796 |
if(isset($_GET['no_boost']) == false) |
797 | 797 |
{ |
798 | 798 |
$gm_redirected_url = $_SERVER['REDIRECT_URL']; |
799 |
if(isset($_SERVER['PHP_SELF']) && !empty($_SERVER['PHP_SELF'])) |
|
800 |
{ |
|
801 |
$gm_redirected_url = $_SERVER['PHP_SELF']; |
|
802 |
} |
|
799 | 803 |
if(isset($_SERVER['REDIRECT_SCRIPT_URL']) && !empty($_SERVER['REDIRECT_SCRIPT_URL'])) |
800 | 804 |
{ |
801 | 805 |
$gm_redirected_url = $_SERVER['REDIRECT_SCRIPT_URL']; |