Closed
Description
Symfony version(s) affected: 5.1
Given e.g.
foo:
bar:
baz:
access_key: 'literal'#'%env(ACCESS_KEY)%'
it crashes with Unexpected characters near "#'%env(ACCESS_KEY)%'"
(note the quotes around literal
)
but is succesfully parses at http://www.yamllint.com/
adding a space before #
solves it in Symfony, but i was too lazy :)