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

Avoid using any IDNA constants in the internal polyfill implementation #281

Merged
merged 1 commit into from
Aug 5, 2020

Conversation

TRowbotham
Copy link
Contributor

Fixes #278.

Sometimes we can get into an awkward configuration where ext-intl is enabled, but is compiled with a version of ICU < 4.6, which means that a number of constants aren't defined and the polyfill doesn't get loaded and therefore doesn't define the constants for us. This causes breakage for users using the internal API. Fix this by avoiding the use of any IDNA_* constants.

@bmack let me know if this fixes the issue for you.

@stof stof changed the title Avoid using any IDNA constants Avoid using any IDNA constants in the internal polyfill implementation Aug 5, 2020
@fabpot
Copy link
Member

fabpot commented Aug 5, 2020

Thank you @TRowbotham.

@fabpot fabpot merged commit 1c93f78 into symfony:master Aug 5, 2020
@bmack
Copy link

bmack commented Aug 7, 2020

@stof @TRowbotham works perfectly for my scenario. Tested on the "broken system" again, and it works. Thanks a ton for your support.

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

Successfully merging this pull request may close these issues.

[BUG] polyfill-intl-idn breaks on large hoster installation
4 participants