From: Sarah Hoffmann Date: Tue, 12 Apr 2016 21:04:38 +0000 (+0200) Subject: remove duplicate CORS header X-Git-Tag: v3.0.0~179 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/af06d31d21032670a944ca27023c6d12a5b18e8b remove duplicate CORS header fixes #427 --- diff --git a/lib/lib.php b/lib/lib.php index 75e72b4c..897db8e7 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -592,7 +592,6 @@ function javascript_renderData($xVal, $iOptions = 0) { - header("Access-Control-Allow-Origin: *"); if (defined('PHP_VERSION_ID') && PHP_VERSION_ID > 50400) $iOptions |= JSON_UNESCAPED_UNICODE; $jsonout = json_encode($xVal, $iOptions);