Review 13.4 Merged

91398[BUGFIX] Allow to provide byte size units in FileSizeValidator

Christian Kuhn CR +2 V +2 Easy +15 −1 updated 10/31/25, 17:04

Commit message

The extbase `FileSizeValidator` uses a hardcoded string
of possible byte size units for the used `formatSize`
function in the validator.

This patch adds the new validator option `byteSizeUnits`
to allow developers to use a custom byte size unit
string.

Review

  • Code review CR +2 Done
    • Christian Kuhn +2
  • Verified V +2 Done
    • Christian Kuhn +2
    • core-ci +1 CI

Issues 1

Files 2

Review log 34

  1. Christian Kuhn uploaded patch set 1 10/31/25, 16:48

  2. core-ci voted on patch set 1 V +1 10/31/25, 16:54 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88283

  3. Christian Kuhn voted on patch set 1 CR +2 V +2 10/31/25, 17:03

  4. Christian Kuhn merged patch set 2 10/31/25, 17:04