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

Improve MIME type checks #4610

Merged
merged 1 commit into from
Jan 10, 2024
Merged

Improve MIME type checks #4610

merged 1 commit into from
Jan 10, 2024

Commits on Dec 21, 2023

  1. AB#1005 Improve MIME type checks

    If the MIME type suggested by the browser when creating an attachment
    differs from the detected MIME type based on the uploaded attachment contents,
    update the MIME type if the detected MIME type is also allowed.
    This helps with container formats like HEIC/HEIF, where the browser may
    not be able to accurately guess the actual format based on just the
    filename extension.
    gjvoosten committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    d93c386 View commit details
    Browse the repository at this point in the history