-
Notifications
You must be signed in to change notification settings - Fork 32
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
Content-Security-Policy header breaks Flask-Admin forms #56
Milestone
Comments
ntarocco
added a commit
that referenced
this issue
Aug 7, 2017
- override Talisman configuration @before_request to set CSP to None - remove CSP response header - fixes #56
ntarocco
added a commit
to ntarocco/invenio-admin
that referenced
this issue
Aug 7, 2017
ntarocco
added a commit
to ntarocco/invenio-admin
that referenced
this issue
Aug 8, 2017
ntarocco
added a commit
to ntarocco/invenio-admin
that referenced
this issue
Aug 8, 2017
lnielsen
pushed a commit
that referenced
this issue
Aug 9, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Talisman extension in Invenio app module adds the security header
[X-]Content-Security-Policy:default-src 'self'
This breaks the Flask-Admin forms because the code has inline js/css.
There is an issues opened on Flask-Admin and a PR partially fixing the issue (pallets-eco/flask-admin#1135). For the time being, the easiest solution is to remove the header for Invenio admin views.
The text was updated successfully, but these errors were encountered: