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

SDM (Super Dev Mode) does not work with a strong CSP (Content Security Policy) #9951

Open
lgemeinhardt opened this issue Apr 24, 2024 · 0 comments · May be fixed by #9952
Open

SDM (Super Dev Mode) does not work with a strong CSP (Content Security Policy) #9951

lgemeinhardt opened this issue Apr 24, 2024 · 0 comments · May be fixed by #9952

Comments

@lgemeinhardt
Copy link

SDM (Super Dev Mode) does not work with a strong CSP (Content Security Policy)

GWT version: 2.11.0

Description

SDM does not work with a CSP, that does not allow "unsafe-inline", because the "dev_mode_on.js" contains some inline javascript call:

result.setAttribute('href', 'javascript:' + encodeURIComponent(javascript));

Steps to reproduce

Enable CSP w/o "unsafe-inline" and try to use SDM.

Known workarounds

Disable CSP or allow "unsafe-inline".

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 a pull request may close this issue.

1 participant