MariaDB support explicitely stated
[phpmyadmin/crack.git] / url.php
bloba9d0f5882906d17fae82095a2c2467f1571aa598
1 <?php
2 /**
3 * URL redirector to avoid leaking Referer with some sensitive information.
4 */
6 /**
7 * Gets core libraries and defines some variables
8 */
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']);
15 } else {
16 header('Location: ' . $GLOBALS['url']);