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

Update es5-ext to avoid CSP violation #4145

Merged
merged 1 commit into from
Jul 10, 2017

Conversation

unarist
Copy link
Contributor

@unarist unarist commented Jul 10, 2017

Since es5-ext used new Function("..."), it caused CSP violation unless "unsafe-eval" included. So this patch updates it to the version which fixes it.

Note that this package is used in polyfills (e.g. Symbol), so loaded only if needed. I've encountered this issue on iOS9.

cf. medikoo/es5-ext@d3864493

Since es5-ext used `new Function("...")`, it caused CSP violation unless "unsafe-eval" included. So this patch updates it to the version which fixes it.

Note that this package is used in polyfills, so loaded only if needed. I've encountered this issue on iOS9.

cf. medikoo/es5-ext@d3864493
@Gargron Gargron merged commit e670fa2 into mastodon:master Jul 10, 2017
@sorin-davidoi
Copy link
Contributor

This might also improve things for #2760.

@unarist unarist deleted the update-polyfill branch September 30, 2018 14:53
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.

None yet

3 participants