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

Uploaded PDF Files not opening in browser #7959

Open
GrayJumba opened this issue Nov 11, 2021 · 1 comment
Open

Uploaded PDF Files not opening in browser #7959

GrayJumba opened this issue Nov 11, 2021 · 1 comment

Comments

@GrayJumba
Copy link

I am uploading files successfully onto a bolt cms powered website. However when I try to access the uploaded pdf document via the upload url for the pdf, chrome give me a "Error Failed to load PDF document." On Safari I am getting encoded extext as attached.

This happens for all uploaded pdfs. This is the pdf url

https://kiraguandmwangi.co.ke/files/docs/1636623051_so-so-def.pdf

Screenshot 2021-11-11 at 12 50 35

@bobdenotter
Copy link
Member

I don't think this is a Bolt bug. It looks like the PDF itself is correct, but the browser sends it with the incorrect mime type header.
Perhaps you can set this yourself, or you could ask the webhost.

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

2 participants