Skip to content

[Config] Stop treating multiline resources as globs #39142

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

Merged
merged 1 commit into from
Dec 9, 2020

Conversation

michaelKaefer
Copy link
Contributor

@michaelKaefer michaelKaefer commented Nov 22, 2020

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #23412
License MIT

Would fix the linked issue.

In #22938 it was suggested to enhance the glob-detection logic by detecting newlines.

Cons:

  • it only solves an edge case
  • it is not possible to use a multiline glob (like bar\nbaz*.txt) as a resource anymore - maybe in another edge case this is needed

@carsonbot carsonbot added this to the 4.4 milestone Nov 22, 2020
@Nyholm Nyholm added the Config label Nov 23, 2020
@carsonbot carsonbot changed the title 23412 Stop treating multiline resources as globs [Config] 23412 Stop treating multiline resources as globs Nov 23, 2020
@nicolas-grekas nicolas-grekas changed the title [Config] 23412 Stop treating multiline resources as globs [Config] Stop treating multiline resources as globs Dec 8, 2020
@nicolas-grekas
Copy link
Member

Thank you @michaelKaefer.

@nicolas-grekas nicolas-grekas merged commit 55d2723 into symfony:4.4 Dec 9, 2020
@michaelKaefer michaelKaefer deleted the 23412-config-loader branch December 9, 2020 09:43
@pamil
Copy link
Contributor

pamil commented Dec 9, 2020

Thanks, Michael, that'll help us A LOT in @Sylius 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants