You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is difficult, because this bug comes from unsafe-libyaml which is an old transpiled version of the C library "libyaml" which has many bugs like this. We could upgrade, but I'm in favor of migrating to libyaml-safer (see #5)
In the mean time this issue is a real issue, that I will leave open. But it might get closed with "won't fix, we are now supporting 1.2.", since #5 is the task I want to tackle next, in order to fix #3.
I'm leaving this issue open for documentation purposes.
In yaml 1.1 this is valid octal:
In yaml 1.2 only this is valid
serde-yaml and serde-yaml-ng parse it according to 1.2 spec
This a problem when for example parsing kubernetes manifests because kubernetes uses 1.1
Adding this to
parse_unsigned_int
should implement the old behavior, allowing both:The text was updated successfully, but these errors were encountered: