Review 14.3 Merged

97359[TASK] Avoid empty unserialize input on PHP 8.6

Benni Mack CR +2 V +2 Normal +123 −4 updated 11/05/26, 09:55

Commit message

PHP 8.6 warns when unserialize() receives an empty string. Guard empty
input in processed-file configuration, user sessions, stored database
queries and extension dependencies.

Preserve existing casts and empty results, including the legacy [false]
processed-file configuration, and retain allowed_classes restrictions.
Nonempty input continues through the existing deserialization paths.

Cover absent, null and empty fields, existing serialized data and
saved-query persistence with regression tests.

Review

  • Code review CR +2 Done
    • Benni Mack +2
  • Verified V +2 Done
    • Benni Mack +2
    • core-ci +1 CI

Issues 1

Files 8

Review log 34

  1. Benni Mack uploaded patch set 1 11/05/26, 08:40

  2. core-ci voted on patch set 1 V +1 11/05/26, 08:56 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113365

  3. Benni Mack voted on patch set 1 CR +2 V +2 11/05/26, 09:55

  4. Benni Mack merged patch set 2 11/05/26, 09:55