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

CSP unsafe-inline directive blocks pdf viewer #1081

Open
andreasgou opened this issue Apr 18, 2024 · 0 comments
Open

CSP unsafe-inline directive blocks pdf viewer #1081

andreasgou opened this issue Apr 18, 2024 · 0 comments

Comments

@andreasgou
Copy link

Bug Report or Feature Request (mark with an x)
- [ ] Regression (a behavior that used to work and stopped working in a new release)
- [x] Bug report -> please search issues before submitting
- [ ] Feature request
- [ ] Documentation issue or request

It seems the script-src 'self' 'unsafe-inline' is mandatory for the pdf viewer to work.

Unfortunately (or not), the security policies enforced by the client does not permit the 'unsafe-inline' directive.

Is there any way to overcome this issue?

THanks!

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

No branches or pull requests

1 participant