Review 14.3 Merged

97750[BUGFIX] Keep parameters and fragment of rich text page links on import

Oli Bartsch CR +2 V +2 Normal +104 −22 updated 11/17/26, 15:46

Commit message

The soft reference parser "typolink_tag" replaced the whole href of a
page link in rich text with its token, while the token value is the
page uid. Restoring the content on import turned
t3://page?uid=42&L=1#top into "57", losing the scheme, the
parameters and the fragment, and t3://page?uid=42#953 into "57#1012".

Only the page uid, and the uid of a content element in a numeric
fragment, are tokenized now. The uid is matched as query parameter
"uid" only, no longer within parameters ending in "uid", such as
"my-uid".

Export files created before this change still contain the old
tokenized content and are imported as before.

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
  • Verified V +2 Done
    • Oli Bartsch +2
    • core-ci +1 CI

Issues 1

Files 4

Review log 46

  1. Oli Bartsch uploaded patch set 1 11/17/26, 14:11

  2. core-ci voted on patch set 1 V -1 11/17/26, 14:17 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114741

  3. Oli Bartsch uploaded patch set 2 V -1 11/17/26, 15:36

  4. core-ci voted on patch set 2 V +1 11/17/26, 15:43 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114753

  5. Oli Bartsch voted on patch set 2 CR +2 V +2 11/17/26, 15:46

  6. Oli Bartsch merged patch set 3 11/17/26, 15:46