Review 13.4 Merged

89088[BUGFIX] Fix end of tag names in parseFunc

Benni Mack CR +2 V +2 Normal +84 −1 updated 04/12/25, 17:59

Commit message

The HTML specification allows tag names to end in spaces, line feeds,
character tabulation and form feeds. The current parseFunc only splits
at spaces. If an allowlist of tags is used, this can trigger an allowed
tag to be denied (or a denied tag to be allowed).

This commit implements all the characters that can split attributes from
tag names.

Review

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

Issues 1

Files 2

Review log 34

  1. Benni Mack commented on patch set 1 04/12/25, 17:52

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 04/12/25, 17:58 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/77639

  3. Benni Mack voted on patch set 1 CR +2 V +2 04/12/25, 17:59

  4. Benni Mack merged patch set 2 04/12/25, 17:59