forked from hans/Nominatim
use json_encode in search stuff as well
remove JSON_UNESCAPED_UNICODE, supported only by php >=5.3.3 and clients should be able to handle the escaping
This commit is contained in:
@@ -597,7 +597,7 @@
|
||||
{
|
||||
header("Access-Control-Allow-Origin: *");
|
||||
|
||||
$jsonout = json_encode($xVal, JSON_UNESCAPED_UNICODE);
|
||||
$jsonout = json_encode($xVal);
|
||||
|
||||
if( ! isset($_GET['json_callback'])) {
|
||||
header("Content-Type: application/json; charset=UTF-8");
|
||||
|
||||
Reference in New Issue
Block a user