-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kernel::System::YAML: parsing of 0, '0', or '' #2462
Comments
6 tasks
bschmalhofer
added a commit
that referenced
this issue
Aug 15, 2023
bschmalhofer
added a commit
that referenced
this issue
Aug 15, 2023
The changes for issue #2464 broke the script. The reason was that the previous version used Kernel::System::YAML for testing and the changes script, using YAML::XS, did not fully replicate the funktionality in Kernel::System::YAML. Furthermore there was some confusion regarding UTF8 de- and en-coding.
bschmalhofer
added a commit
that referenced
this issue
Aug 15, 2023
where the behavior actually changed. In essence, the fallback to YAML.pm supported invalid YAML. Without the fallback the invalid YAML is no longer accepted.
bschmalhofer
added a commit
that referenced
this issue
Aug 15, 2023
with YAML from sysconfig_default.xml_content_parsed
bschmalhofer
added a commit
that referenced
this issue
Aug 15, 2023
for checking YAML::XS::Load(). Thus the special cases, for YAML that return false values, are no longer needed.
bschmalhofer
added a commit
that referenced
this issue
Aug 15, 2023
Test suite looks fine. Closing this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Kernel/System/YAML.pm there is the following blurb:
This looks similar to #2458. I think that a similar fix can be applied here and the funny special cases can be avoided.
The text was updated successfully, but these errors were encountered: