The Wayback Machine - https://web.archive.org/web/20220810012156/https://github.com/symfony/symfony/pull/39142
Skip to content
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

[Config] Stop treating multiline resources as globs #39142

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
xabbuh
xabbuh approved these changes Dec 9, 2020
@nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Dec 9, 2020

Thank you @michaelKaefer.

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

@pamil 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.

None yet

7 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.