Review 10.4 Merged

70493[FEATURE] Introduce explicit f:sanitize.html view-helper

Oliver Hader CR +2 V +2 Normal +247 −1 updated 08/13/21, 19:59

Commit message

New `<f:sanitize.html build="default">` view-helper is introduced
which directly invokes processing of `typo3/html-sanitize` package. An
optional view-helper argument `build` allows using a defined preset,
or a fully qualified class name of a builder instance as alternative,
which has to implement `\TYPO3\HtmlSanitizer\Builder\BuilderInterface`.

In contrast to `<f:format.html>`, this does NOT invoke `lib.parseFunc`,
and does NOT rely on TypoScript configuration being loaded and parsed.

Review

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

Issues 1

Files 4

Review log 812

  1. Oliver Hader uploaded patch set 1 08/12/21, 14:11

  2. core-ci voted on patch set 1 V +1 08/12/21, 14:31 Core CI is happy: https://gitlab.typo3.org/typo3/CI/cms/-/pipelines/14755

  3. Oliver Hader voted on patch set 1 CR -1 08/12/21, 15:42

  4. Oliver Hader uploaded patch set 2 08/12/21, 20:59

  5. core-ci voted on patch set 2 V +1 08/12/21, 21:09 Core CI is happy: https://gitlab.typo3.org/typo3/CI/cms/-/pipelines/14858

  6. Oliver Hader commented on patch set 3 08/13/21, 08:00

    Published edit on patch set 2.
  7. core-ci voted on patch set 3 V +1 08/13/21, 08:15 Core CI is happy: https://gitlab.typo3.org/typo3/CI/cms/-/pipelines/14894

  8. Oliver Hader uploaded patch set 4 08/13/21, 09:10

  9. core-ci voted on patch set 4 V +1 08/13/21, 09:28 Core CI is happy: https://gitlab.typo3.org/typo3/CI/cms/-/pipelines/14907

  10. Benni Mack voted on patch set 4 V +1 CR +1 08/13/21, 14:32

  11. Benni Mack voted on patch set 4 V +2 CR +2 08/13/21, 19:58

  12. Benni Mack merged patch set 5 08/13/21, 19:59