libyaml
libyaml copied to clipboard
when url as value field,sometimes token.data.scalar.value will get "\0"
file test.yml test: url: http://127.0.0.1:8080/test
I do many times to try get test.url value, sometimes I got it, but sometimes the token.data.scalar.value="\0",but token.data.scalar.length=26, does somebody fixed it? And I try to change yml file to:
test: url: "http://127.0.0.1:8080/test"
But it does not work. the same bug found.
Can you please provide some reproducing C code? thanks