diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-08-06 16:18:17 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-08-06 16:50:55 +0200 |
commit | 6bc71b201dafd552a46b8e9ab5ee8f1ee5577c17 (patch) | |
tree | f0e49bb81d06e7b2e691a42ddd885c3360019f47 /sources/core.c | |
parent | a675dbb083af5bd64e33097754042cf54fef8b8b (diff) |
rest: use JSON_ENSURE_ASCII in json dumps
escape non-ascii characters in json otherwise ogclient len() and Content-Length:
report a mismatch when utf-8 representation is used in any of the string fields.
For consistency, enable this flag too for json dumps that are consumed by ogcp
and ogcli.
Diffstat (limited to 'sources/core.c')
0 files changed, 0 insertions, 0 deletions