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

Fix content-type header for non-text-file attachments #20460

Closed
wants to merge 2 commits into from

Commits on Jul 23, 2022

  1. Fix content-type header for non-text files

    The previous logic was only setting content-type for SVG and PDF files,
    all other types did not consider the user's mime type map. Fix that by
    allowing all mappings to take effect. Also, added a default support for
    PDF mimetype as there is no harm in doing that.
    silverwind committed Jul 23, 2022
    Configuration menu
    Copy the full SHA
    ea68b61 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb51aad View commit details
    Browse the repository at this point in the history