Commit Graph

8 Commits

Author SHA1 Message Date
Paul Arthur
dcfbf5ea8c [Fix] Fix vertical tab handling in libucl
626c7a170f is an incomplete fix and emits
invalid JSON.

The vertical tab has a short escape in C but not JSON, so we should
emit the long escape. (libucl won't choke on \v in UCL input but
it doesn't properly round-trip: 'foo\vbar' will be parsed into
'foovbar'.)

libucl has an option to escape strings during parsing, so I modified
that in a similar fashion to 626c7a17.
2018-05-10 16:44:28 +00:00
Vsevolod Stakhov
38f05a24a5 [CritFix] Fix ucl escape for bad symbols
Issue: #2194
2018-04-23 17:40:30 +01:00
Vsevolod Stakhov
626c7a170f [Fix] Fix processing of '\v' in libucl
Issue: #2045
2018-03-29 13:57:41 +01:00
Vsevolod Stakhov
15cc016434 [Feature] Support single quotes in config
Issue: #2080
2018-03-21 15:03:16 +00:00
Vsevolod Stakhov
84c2524e85 [Fix] Deal with nan and inf encoding in json/ucl 2017-11-16 18:56:17 +00:00
Vsevolod Stakhov
60a221d3e4 [Fix] Strictly filter bad characters when emittin json 2017-02-08 13:46:57 +00:00
Vsevolod Stakhov
c9d280cb3d Import the recent libucl. 2015-07-28 16:57:15 +01:00
Vsevolod Stakhov
6e121a026f Move ucl and rdns to contrib. 2015-02-21 18:11:12 +00:00