Review 9.5 Merged

70584[BUGFIX] Allow HTML node onclick events in generated frontend markup

Oliver Hader CR +2 V +2 Easy +28 −3 updated 08/16/21, 11:17

Commit message

`ContentObjectRenderer` and `AbstractMenuContentObject` are still relying
HTML event attribute `onclick` to open new client window instances,
which were (correctly) removed by HTML sanitizer.

In order to keep the functionality, exceptional declarations have been
added, and `vHWin=window.open(...)` substituted by `openPic(...)`.

Review

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

Issues 1

Files 4

Review log 57

  1. Oliver Hader uploaded patch set 1 08/13/21, 15:21

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

  3. Benni Mack updated the commit message in patch set 2 08/14/21, 11:19

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

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

  6. Oliver Hader voted on patch set 2 V +2 CR +2 08/16/21, 11:16

  7. Oliver Hader merged patch set 3 08/16/21, 11:17