3 * URL redirector to avoid leaking Referer with some sensitive information.
7 * Gets core libraries and defines some variables
9 require_once './libraries/common.inc.php';
11 if (! PMA_isValid($_GET['url']) ||
! preg_match('/^https?:\/\/[^\n\r]*$/', $_GET['url'])) {
12 header('Location: ' . $cfg['PmaAbsoluteUri']);
14 header('Location: ' . $_GET['url']);