From 3e7f292efcfcd456bd658265699cf14abf7dedb9 Mon Sep 17 00:00:00 2001 From: dingguodong Date: Tue, 31 Aug 2021 15:22:37 +0800 Subject: [PATCH] * Json encode the issue with JSON_HEX_TAG. --- framework/api/entry.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/api/entry.class.php b/framework/api/entry.class.php index ffbae876d8..122c4c4d4d 100644 --- a/framework/api/entry.class.php +++ b/framework/api/entry.class.php @@ -181,7 +181,7 @@ class baseEntry { header("Content-type: application/json"); header("HTTP/1.1 {$this->statusCode[$code]}"); - echo json_encode($data); + echo json_encode($data, JSON_HEX_TAG); exit; }