Review 12.4 Merged

89677[BUGFIX] Evaluate mixed-case file extensions in mime_type migration

Benjamin Franzke CR +2 V +2 Easy +2 −2 updated 06/10/25, 08:26

Commit message

The SysFileMimeTypeMigration wizard evaluates the database
result set of existing mis-matching MIME-type / file extension
pairs so they can be mapped to proper types.

This failed to recognize though that due to the default
collations being set to "ci" (case insensitive) in most
RDBMS setups, the wizard might receive a valid database
result set of a file extensions set to "CSV" (instead of
"csv"). It would then fail to be able to look up the
lowercase-based $mimeTypeCompatibility array.

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 06/10/25, 06:30

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

  3. Benjamin Franzke commented on patch set 1 CR +2 V +2 06/10/25, 08:26

    This change is ready for review.
  4. Benjamin Franzke merged patch set 2 06/10/25, 08:26