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

Fixed an issue where attachments could end up with incorrect file extensions #336

Merged

Conversation

mpretty-cyro
Copy link
Collaborator

@mpretty-cyro mpretty-cyro commented Dec 12, 2024

An extension can appear multiple times in genericExtensionTypesToMimeTypes so the old approach could result in the wrong extension being selected (eg. .mp4v instead of mp4) which resulted in some attachments ending up as invalid files

@mpretty-cyro mpretty-cyro self-assigned this Dec 12, 2024
@mpretty-cyro mpretty-cyro merged commit 2923aec into session-foundation:dev Dec 15, 2024
1 check passed
@mpretty-cyro mpretty-cyro deleted the fix/busted_video_attachments branch December 15, 2024 23:46
This was referenced Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants