Issue Bug Closed

#108003Searching for "&" shows "&" double-encoded in page tree

Christian Weiske 11/07/25, 08:51 updated 12/02/25, 12:04

Description

We have a page “News & Presse” in the page tree. When searching for “News “, the page is searched for and appears as News & Presse.
When searching for “News &”, the page tree shows News & Presse.

Screenshots attached demonstrating the problem.

Also when searching for “news & presse”, the page is found but the text not highlighted anymore.

Happens with TYPO3 12.4.37. I know 12.4.38 is out, but the changelog does not suggest that this bug has been fixed.

Reviews 2

Files 2

History 510

  1. Christian Weiske commented 11/07/25, 08:53

    Unfortunately the &-a-m-p-; was swallowed by the editor.

    I wanted to write:
    When searching for “News &”, the page tree shows News &-a-m-p-; Presse.

    News & Presse
  2. Garvin Hicking commented and changed status New Needs Feedback 11/07/25, 09:17

    I believe this was fixed in v13, can you check?

  3. Riccardo De Contardi commented 11/07/25, 09:28

    I can confirm that the issue is still present on both 13.4.19 and latest main

    Attention

    if the page title is News & Presse to trigger the issue you have to type just News & (with or without the trailing space). If you type news & p the & is correctly encoded

  4. Gerrit Code Review pushed patch set 1 for main to change 91590 status Needs Feedback Under Review 11/12/25, 17:00

  5. Gerrit Code Review pushed patch set 2 for main to change 91590 11/13/25, 08:47

  6. Gerrit Code Review pushed patch set 3 for main to change 91590 11/13/25, 08:49

  7. Gerrit Code Review pushed patch set 4 for main to change 91590 11/13/25, 11:48

  8. Gerrit Code Review pushed patch set 1 for 13.4 to change 91615 11/13/25, 13:05

  9. Andreas Nedbal commented and changed status Under Review Resolved done 0 % 100 % 11/13/25, 13:15

    Applied in changeset commit:6da652d6d1428007006b78ab4297cc5b5ae6464c.

  10. Benni Mack changed status Resolved Closed 12/02/25, 12:04