Review 14.3 Merged

96078[BUGFIX] Index title and meta tags of HTML without body tag

Benni Mack CR +2 V +2 Easy +17 −1 updated 09/25/26, 15:51

Commit message

Indexer->splitHTMLContent() determines the head part of a document by
cutting the body off the content. Without a body tag, the body is an
empty string and substr() is called with a length of "-0", which
returns an empty string. Title, keywords and description of such a
document were lost.

The whole content is now used as head part if there is no body.

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 09/25/26, 15:38

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 09/25/26, 15:49 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109260

  3. Benni Mack voted on patch set 1 CR +2 V +2 09/25/26, 15:51

  4. Benni Mack merged patch set 2 09/25/26, 15:51