-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[YAML] Parser fails with empty new line #33082
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
Labels
Comments
Status: Reviewed |
Hey, thanks for your report! |
I also encountered this problem. symfony/yaml version(s) affected: 5.3.6 Description
Stacktrace:
Additional context
|
reopening as the merged PR has been reverted in acb4372 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Symfony version(s) affected: 4.3.3
Description
The
YAML::parse()
method fails on this string:How to reproduce
YAML::parse($previousString);
Throws this exception:
Malformed inline YAML string
in vendor/symfony/yaml/Inline.php on line 120Possible Solution
controller_organisation_membres_inc_mailer.communicate
has empty new lines.Same with
nbEmailSent
Additional context
https://yaml-online-parser.appspot.com/ successfully parses the string
The text was updated successfully, but these errors were encountered: