Review main Merged

77861[BUGFIX] Handle FormData passed to AjaxRequest API properly

Andreas Kienast CR +2 V +2 Easy +16 −16 updated 02/15/23, 12:06

Commit message

The AjaxRequest API is now able to cope with `FormData` objects passed
as first argument in either `post()`, `put()` or `delete()`.
Previously, a workaround was necessary that submitted
`{body: formData}` as `RequestInit` to fulfill this task. Since this
workaround is not required anymore, usages are adapted accordingly.

Review

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

Issues 1

Files 4

Review log 68

  1. Andreas Kienast uploaded patch set 1 02/15/23, 10:13

  2. core-ci voted on patch set 1 V +1 02/15/23, 10:20 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/37734

  3. Christian Kuhn voted on patch set 1 V +1 CR +1 02/15/23, 11:28

  4. Andreas Kienast updated the commit message in patch set 2 CR +1 V +1 02/15/23, 11:32

  5. Christian Kuhn voted on patch set 2 V +1 CR +1 02/15/23, 11:35

  6. core-ci voted on patch set 2 V +1 02/15/23, 11:39 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/37736

  7. Andreas Kienast voted on patch set 2 V +2 CR +2 02/15/23, 12:06

  8. Andreas Kienast merged patch set 3 02/15/23, 12:06