X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/4e478c8af0dff8d7de52ea22e4e0b817135cb28c..3c0df661654432a34ad562f80fc0bc66cfb9de0c:/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; }