Review 12.4 Merged

89561[BUGFIX] Add mime-type compatiblity mapping for .exe

Benjamin Franzke CR +2 V +2 Easy +3 −0 updated 05/27/25, 11:45

Commit message

PHP `finfo_file()` and `mime_content_type()` often report
exe files as `application/x-dosexec` instead of
`application/x-msdos-program`. Ensure that the MIME type
is normalized to the latter ones, and thus exe files can
be uploaded, if allowed in miscfile_ext.

Review

  • Code review CR +2 Done
    • Benjamin Franzke +2
  • Verified V +2 Done
    • Benjamin Franzke +2
    • core-ci +1 CI

Issues 2

Files 1

Review log 34

  1. Benjamin Franzke commented on patch set 1 05/27/25, 10:51

    Cherry Picked from branch 13.4.
  2. core-ci voted on patch set 1 V +1 05/27/25, 10:59 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/79555

  3. Benjamin Franzke commented on patch set 1 CR +2 V +2 05/27/25, 11:45

    This change is ready for review.
  4. Benjamin Franzke merged patch set 2 05/27/25, 11:45