Project

General

Profile

Actions

Bug #91357

closed

Typolink strips #

Added by Anonymous over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-05-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

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:

<a href="/test-page#work-life-balance">FOO</a>

Actual output:

<a href="/test-page">FOO</a>

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.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #75213: Missing Anchors for PDFsClosed2016-03-21

Actions
Related to TYPO3 Core - Bug #90916: Page type external URL, removes fragments from relativ URLs Closed2020-04-01

Actions
Actions

Also available in: Atom PDF