Closed Bug 1778071 Opened 2 years ago Closed 2 years ago

Firefox renames m4a files to mp4 on download

Categories

(Firefox :: File Handling, enhancement)

Firefox 101
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1789321

People

(Reporter: akb95, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: webcompat:platform-bug)

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0

Steps to reproduce:

Download an m4a file

Actual results:

The file was downloaded as $filename.mp4 instead of $filename.m4a

Expected results:

The file should have been downloaded as $filename.m4a

This is undesirable behaviour for several reasons but most obviously is correctness.
Downloading the file with correct name and extension seems to be the correct behaviour.

It's also worth noting that an end-user may have issues with this behaviour, e.g not noticing the extension changed and assuming their file is broken when it won't embed properly on platforms such as discord (and indeed, this is precisely what brought my attention to this problem as I shared an m4a file with a friend, who then tried to use this file and found that firefox had silently renamed it on download)

The Bugbug bot thinks this bug should belong to the 'Firefox::File Handling' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → File Handling
Blocks: 1778322

Couldn't reproduce this with sample m4a files.

Your reported version is 101 though, so likely 1746052 or related bugs landed in 102 have fixed this.

Updated to 102 (linux).

Behaviour still observed from both discordapp.com and mega.nz domains.

Hello,
I tried to reproduce this issue on Ubuntu 22.04 on discordapp.com on Firefox 101.0 and 102.0 without success. I also tried to download some test files, but they all downloaded with the correct m4a extension.
Could you please attach your handlers.json here?
File handler can be found in about:support ->Profile Folder ->Open Directory -> 'handlers.json'.
If not, would you be so kind as to check if the bug is still reproducible on Firefox 103.0b8 and Nightly 104.0a1?
There's a chance that some fixes made on bug 1773907 may have resolved your issue.
Thank you.

Flags: needinfo?(akb95)

I can confirm that Firefox 104 is appending the file-type .mp4 to files which should download as (aac) m4a.
I could upload a couple of small screen shots if you need, later

How, or to whom can I upload some screenshots to illustrate the issue?
system: Mac OS 11.6.8 Big Sur
Safari 15.6.1 (ok) and the problematic Firefox 104.0.1

Darn, Please note this actually belongs in a Firefox 104 Thread

Sorry, I guess I should check in here, I originally post here then shifted to
a new thread when I noticed the version on this thread here.
I have sent other confirmation details on the issue I have here
https://bugzilla.mozilla.org/show_bug.cgi?id=1789321

Duping forward because the reporter hasn't replied here and there's not actually a good reason to have both reports open for the same issue just because the versions with which it's seen are not identical, unless a fix was attempted and one of the bugs got closed as a result.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Flags: needinfo?(akb95)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: