[tarantool-patches] [PATCH v3 0/2] lua-yaml null/boolean fixes

Alexander Turenko alexander.turenko at tarantool.org
Tue Feb 5 06:30:15 MSK 2019


The patchset improves validation of arguments in yaml.encode() and
yaml.decode() functions and fixes encoding of string values like 'null',
which should be quoted.

The main change from the previous version is dropping the last patch,
which was about encoding an empty document as null to better fit the
YAML standard and corresponding decoding changes, but breaks backward
compatibility in some sense. Also I have added API test cases for the
first patch and have fixed Vlad's comments about the code.

AKhatskevich (1):
  lua-yaml: verify arguments count

Alexander Turenko (1):
  lua-yaml: fix strings literals encoding in yaml

 test/app-tap/console.test.lua | 21 ++++++--
 test/app-tap/yaml.test.lua    | 74 ++++++++++++++++++++++++++-
 third_party/lua-yaml/lyaml.cc | 95 +++++++++++++++++++++++++++--------
 3 files changed, 162 insertions(+), 28 deletions(-)

-- 
2.20.1





More information about the Tarantool-patches mailing list