8000 Symfony Yaml 5.2 does not handle space after a quote. · Issue #39296 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Symfony Yaml 5.2 does not handle space after a quote. #39296
Closed
@Xachman

Description

@Xachman

Symfony version(s) affected: 5.2

Description
If you parse valid yaml with a space after a quote you will receive the error:

Unexpected characters near " space after the quote" " at line 1 (near "test: "anything with a space after the quote" ").

How to reproduce

Parse any valid yaml that uses quotes for a value and has a space at the end.

Example:

\Symfony\Component\Yaml\Yaml::parse("test: 'a one line quote test' ");

Possible Solution

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0