Issue Bug Closed

#91357Typolink strips #

Anonymous 05/11/20, 10:59 updated 05/13/20, 10:04

Description

The following commit introduced a bug with typolinks and fragments

https://github.com/TYPO3-CMS/core/commit/9192143d84da53877f22dea1cb553eef1d9b7f6e

In particular the following change:

https://github.com/TYPO3-CMS/core/commit/9192143d84da53877f22dea1cb553eef1d9b7f6e#diff-7197f3668ad42bdcb89ff9bfef0be391

Steps to reproduce:

FLUID

<f:link.typolink parameter="t3://page?uid=105#work-life-balance">FOO</f:link.typolink>

Expected output:

FOO

Actual output:

FOO

PS:
If someone could advise me how I can do a “git bisect” with subtree split and composer setup – that would be awesome. Was quite hard to identify that commit.

PS 2:
“t3://page?uid=105#work-life-balance” is a quite 100% reasonable TYPO3 internal link. I do not understand, why it even reaches “LegacyLinkNotationConverter” – makes no sense to me. As the t3:// link gets resolved properly and then afterwards TYPO3 AGAIN tries to resolve the already resolved URL and this leads to this. This should be checked by someone with more core insights than me.

Reviews 2