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 blocks PDF Preview Download #384

Open
StephanPillhofer opened this issue Jan 14, 2025 · 1 comment
Open

CSP blocks PDF Preview Download #384

StephanPillhofer opened this issue Jan 14, 2025 · 1 comment

Comments

@StephanPillhofer
Copy link

The current CSP rules block the download of the preview PDF because of the blob: schema.

Content-Security-Policy: Die Einstellungen der Seite haben das Laden einer Ressource (frame-src) auf blob:http://XX:XXX:XX:XX:8000/4e5c9963-bdfa-4f41-8749-1c3ba058267e blockiert, da sie gegen folgende Direktive verstößt: "frame-src 'self'"

@MWedl
Copy link
Contributor

MWedl commented Jan 14, 2025

Thanks for reporting. I could reproduce the CSP error in Firefox. Chrome works as expected. It seems that Chrome and Firefox implement the CSP rules differently. We will try to find a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants