Skip to content

File::guessExtension() returns .mpga over .mp3 #36068

Closed
@dwolfhub

Description

@dwolfhub

To me, if someone uploads an audio/mpeg mime type, it's more likely to be an .mp3 than a .mpga

There is an old ticket #8678 that talks about how
"it is the first associated extension in the list maintained by Apache".

In my opinion, just because it is first in the list doesn't mean we should make it the default on our end. Should we consider changing the order of the list?

Happy to provide PR. Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions