Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
For example, if JSON containing Chinese characters is put:
curl -X PUT -H "Content-Type: application/json" localhost:8081/geode/v1/customers/1 -d '{"id": "1", "firstName": "名", "lastName": "姓"}'
The results of getting the entry are correct:
curl localhost:8081/geode/v1/customers/1 { "id" : "1", "firstName" : "名", "lastName" : "姓" }
The results of querying the entry show the field values escaped:
curl -G http://localhost:8081/gemfire-api/v1/queries/adhoc --data-urlencode "q=SELECT * FROM /customers where id='1'" [ { "id" : "1", "firstName" : "\u540D", "lastName" : "\u59D3" } ]