Review main Merged

81550[BUGFIX] Handle `null` values in input transformation in AJAX requests

Andreas Kienast CR +2 V +2 Easy +2 −2 updated 10/25/23, 15:54

Commit message

The module `@typo3/core/ajax/input-transformer` is used to automatically
prepare payload to be sent via AJAX. One sub-routine converts nested
objects into a flat list recursively. However, the check for objects was
not sufficient as, in JavaScript, `null` is also of type `object`. This
patch hardens the check to consider non-null values only.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2