This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
[Unable to open pdf file with content-type: application/octet-stream] #15869
Labels
🐞 bug
Crashes, Something isn't working, ..
This bug is reported after posting on the support forum:
https://support.mozilla.org/nl/questions/1307518
I get the error "could not open file" after downloading a pdf file in Firefox for ANDROID. This happens for most, but not all, pdf files. For example this file: https://manuals.coolblue.nl/0f/aeg-l8fb86es-aeg-t8db86es.pdf
It seems Firefox does not use the default Android pdf viewer. In chrome the file opens perfectly.
Before this error occurred the pdf file was opened in a navigation app, totally useless.
I tried many things:
The issue is related to the information of pdf :
Why doesn't Firefox use the default pdf viewer of android in this case?
Quote from Jscher 2000 in support forum:
"This is a generic executable file type that sites sometimes associate with PDFs to force them to be downloaded instead of opened in a tab. I think that is causing the problem that Firefox doesn't open them in an appropriate application. It would be preferable if Firefox were to "forget" that useless information and ask Android what to do with a .pdf file."
I hope this issue can be resolved. Thanks!
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: