Open webcompat-bot opened 2 years ago
Thanks for the report, I was able to reproduce the issue.
Note: The issue is not reproducible on Chrome.
Tested with: Browser / Version: Firefox Nightly 103.0a1 (🦎103.0a1-20220620095248), Firefox Release 101.2.0(🦎 101.0.1-20220608170832) Operating System: Google Pixel 5 (Android 12) - 1080 x 2340 pixels, 19.5:9 ratio (~432 ppi density), Samsung Galaxy S8 (Android 9) - 1440 x 2960 pixels, 18.5:9 ratio (~570 ppi density)
Moving to Needsdiagnosis for further investigation.
[qa_25/2022]
Same cause as https://github.com/mozilla-mobile/fenix/issues/12182, closing as a dupe.
@denschub Hello The last comment of the other issue says that the solution works. It was in Nov 2020. Not sure to understand what is the conclusion because both issues are closed and the problem is still there... Thank you.
@Primokorn that's a good point, actually. I may have mixed something up here while doing a quick triage. I'll reopen and check again :)
The server is saying that the file's content-type is text/plain
, so that could be throwing Firefox off. However, it's working fine for me on my macbook in the responsive design mode, as the downloaded file's extension is .img
and not changed to .txt
. So this is probably specific to the Android browser. I'll try on a phone ASAP.
Yes, this seems to be phone-specific, as the same content-type is served to Android and it's saving the .img as a .txt. This does seem to effective be a duplicate of Fenix bug 25568.
I'm not sure, but perhaps the website could serve the files with the MIME type application/octet-stream
to prevent this renaming? It's worth reaching out to them to do so anyway, as it might throw off other downloaders.
URL: https://eu.dl.twrp.me/oneplus3/twrp-3.6.2_9-0-oneplus3.img.html
Browser / Version: Firefox Mobile 102.0 Operating System: Android 11 Tested Another Browser: Yes Other
Problem type: Something else Description: Can't download the img file Steps to Reproduce: Firefox downloads a txt file instead of an img file. No problem with Vivaldi browser.
View the screenshot
Browser Configuration
View console log messages
From webcompat.com with ❤️