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

fix(ae_admin.js): Remove call to undefined resizeIframe method #23

Open
wants to merge 1 commit into
base: 7.x-1.x
Choose a base branch
from

Conversation

torotil
Copy link
Collaborator

@torotil torotil commented Nov 29, 2024

The media module has removed that function several versions ago, and we didn’t notice. Now the call to setTimeout(undefined, …) yields a CSP error because it interprets the undefined value as empty string and this in turn as code to eval.

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.

2 participants