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 PMA_checkParameters(array('url'));
13 if (! preg_match('/^https?:\/\/[^\n\r]*$/', $GLOBALS['url'])) {
14 header('Location: ' . $cfg['PmaAbsoluteUri']);
16 header('Location: ' . $GLOBALS['url']);