X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/4e2fe6427ce03a0ed3c5fdfe384f7867ef52fcca..d9e0ef0ebfbc2860e7c0b7e7510a4014300074be:/lib/lib.php diff --git a/lib/lib.php b/lib/lib.php index cd23b068..39462ae3 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -68,7 +68,7 @@ function javascript_renderData($xVal, $iOptions = 0) throw new Exception('Invalid json_callback value', 400); } - $iOptions |= JSON_UNESCAPED_UNICODE; + $iOptions |= JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES; if (isset($_GET['pretty']) && in_array(strtolower($_GET['pretty']), array('1', 'true'))) { $iOptions |= JSON_PRETTY_PRINT; }