[Bug 285177] libxo does not quote tabs in JSON strings.
[email protected] Wed, 05 Mar 2025 14:21:11 +0000
| Newsgroups | gmane.os.freebsd.devel.standards |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285177
Bug ID: 285177
Summary: libxo does not quote tabs in JSON strings.
Product: Base System
Version: 14.2-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: standards
Assignee: [email protected]
Reporter: [email protected]
The JSON specification is clear that ASCII control characters must be quoted
inside JSON strings, but libxo(3) doesn't quotes which creates real world
problems e.g. when trying to process `jls --libxo=json,pretty` with jq which
refuses to parse the invalid JSON (like) output from libxo.
A similar previous bug[1] has been reported and closed on libxo's upstream bug
tracker, but the bug is present in FreeBSD 14.2-p2.
[1]: https://github.com/Juniper/libxo/issues/35
--
You are receiving this mail because:
You are the assignee for the bug.