Merge branch 'QA_4_6'
This commit is contained in:
commit
a6af9fb407
@ -489,6 +489,14 @@ function PMA_sendHeaderLocation($uri, $use_refresh = false)
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* Avoid relative path redirect problems in case user entered URL
|
||||
* like /phpmyadmin/index.php/ which some web servers happily accept.
|
||||
*/
|
||||
if ($uri[0] == '.') {
|
||||
$uri = $GLOBALS['PMA_Config']->getCookiePath() . substr($uri, 2);
|
||||
}
|
||||
|
||||
$response = PMA\libraries\Response::getInstance();
|
||||
|
||||
if (SID) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user