diff options
Diffstat (limited to 'url.php')
-rw-r--r-- | url.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -9,7 +9,9 @@ */ require_once './libraries/common.inc.php'; -if (! PMA_isValid($_GET['url']) || ! preg_match('/^https?:\/\/[^\n\r]*$/', $_GET['url'])) { +if (! PMA_isValid($_GET['url']) + || ! preg_match('/^https?:\/\/[^\n\r]*$/', $_GET['url']) +) { header('Location: ' . $cfg['PmaAbsoluteUri']); } else { header('Location: ' . $_GET['url']); |