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

eu.dl.twrp.me - Incorrect download file type #106064

Open
webcompat-bot opened this issue Jun 18, 2022 · 7 comments
Open

eu.dl.twrp.me - Incorrect download file type #106064

webcompat-bot opened this issue Jun 18, 2022 · 7 comments
Assignees
Labels
browser-fenix diagnosis-priority-p2 engine-gecko The browser uses the Gecko rendering engine priority-normal severity-critical The site or core functionality is unusable, or you would probably open another browser to use it. status-needsinfo-denschub ping @denschub
Milestone

Comments

@webcompat-bot
Copy link

webcompat-bot commented Jun 18, 2022

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 Screenshot
Browser Configuration
  • gfx.webrender.all: false
  • gfx.webrender.blob-images: true
  • gfx.webrender.enabled: false
  • image.mem.shared: true
  • buildID: 20220614185842
  • channel: beta
  • hasTouchScreen: true
  • mixed active content blocked: false
  • mixed passive content blocked: false
  • tracking content blocked: false

View console log messages

From webcompat.com with ❤️

@webcompat-bot webcompat-bot added the action-needsmoderation The moderation has not yet been completed label Jun 18, 2022
@webcompat-bot webcompat-bot added this to the needstriage milestone Jun 18, 2022
@webcompat-bot webcompat-bot added the browser-fixme This requires manual assignment for the browser name label Jun 18, 2022
@webcompat-bot webcompat-bot changed the title In the moderation queue. eu.dl.twrp.me - see bug description Jun 20, 2022
@webcompat-bot webcompat-bot added browser-fenix engine-gecko The browser uses the Gecko rendering engine and removed browser-fixme This requires manual assignment for the browser name action-needsmoderation The moderation has not yet been completed labels Jun 20, 2022
@softvision-oana-arbuzov softvision-oana-arbuzov changed the title eu.dl.twrp.me - see bug description eu.dl.twrp.me - Incorrect download file type Jun 21, 2022
@softvision-oana-arbuzov softvision-oana-arbuzov added priority-normal severity-critical The site or core functionality is unusable, or you would probably open another browser to use it. labels Jun 21, 2022
@softvision-oana-arbuzov
Copy link
Member

Thanks for the report, I was able to reproduce the issue.
image

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]

@denschub
Copy link
Member

Same cause as mozilla-mobile/fenix#12182, closing as a dupe.

@denschub denschub closed this as not planned Won't fix, can't repro, duplicate, stale Jun 21, 2022
@denschub denschub removed their assignment Jun 21, 2022
@denschub denschub modified the milestones: needsdiagnosis, duplicate Jun 21, 2022
@walrus543
Copy link

@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.

@denschub
Copy link
Member

@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 :)

@wisniewskit
Copy link
Member

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.

@wisniewskit
Copy link
Member

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.

@webcompat-bot
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser-fenix diagnosis-priority-p2 engine-gecko The browser uses the Gecko rendering engine priority-normal severity-critical The site or core functionality is unusable, or you would probably open another browser to use it. status-needsinfo-denschub ping @denschub
Projects
None yet
Development

No branches or pull requests

5 participants