X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/817e5ba51eb8b8a4fbb5a430139b974a67f601cf..ca53f9c1bf1576e4750483ee9538b1de49e141ed:/lib/lib.php diff --git a/lib/lib.php b/lib/lib.php index 37ef5e19..3a6166a6 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; }