diff --git a/url.php b/url.php index 41896f23b5..60b0f7d67d 100644 --- a/url.php +++ b/url.php @@ -16,6 +16,11 @@ require_once './libraries/common.inc.php'; */ require_once './libraries/js_escape.lib.php'; +// Only output the http headers +$response = PMA\libraries\Response::getInstance(); +$response->getHeader()->sendHttpHeaders(); +$response->disable(); + if (! PMA_isValid($_REQUEST['url']) || ! preg_match('/^https:\/\/[^\n\r]*$/', $_REQUEST['url']) || ! PMA_isAllowedDomain($_REQUEST['url'])