libyaml icon indicating copy to clipboard operation
libyaml copied to clipboard

when url as value field,sometimes token.data.scalar.value will get "\0"

Open maczh opened this issue 3 years ago • 1 comments

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.

maczh avatar Nov 21 '21 02:11 maczh

Can you please provide some reproducing C code? thanks

perlpunk avatar Nov 21 '21 17:11 perlpunk