Project

General

Profile

Actions

Bug #105331

open

Target _blank is incorrectly added to relative internal links/deeplinks

Added by Patrick Lenk about 1 month ago. Updated 30 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2024-10-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
rte, ckeditor, relative, internal, links, deelinks
Complexity:
Is Regression:
Sprint Focus:

Description

After the upgrade from TYPO3 v11 to v12, target="_blank" is incorrectly added to relative deeplinks.

RTE ckeditor source:

<p>
    <a href="/kontakt/">Deeplink with relative url</a>
</p>
<p>
    <a href="t3://page?uid=1234">Deeplink with t3 scheme</a>
</p>
<p>
    <a href="https://typo3.org/">External Link</a>
</p>

Rendered frontend source:
(with config.forceAbsoluteUrls = 0 or lib.parseFunc_RTE.tags.a.typolink.forceAbsoluteUrl = 0)

<p>
    <a href="/kontakt/" target="_blank">Deeplink with relative url</a>
</p>
<p>
    <a href="/kontakt/">Deeplink with t3 scheme</a>
</p>
<p>
    <a href="https://typo3.org/" target="_blank" rel="noreferrer">External Link</a>
</p>

Rendered frontend source:
(with config.forceAbsoluteUrls = 1 or lib.parseFunc_RTE.tags.a.typolink.forceAbsoluteUrl = 1)

<p>
    <a href="https://mysite.localhost/kontakt/" target="_blank">Deeplink with relative url</a>
</p>
<p>
    <a href="https://mysite.localhost/kontakt/">Deeplink with t3 scheme</a>
</p>
<p>
    <a href="https://typo3.org/" target="_blank" rel="noreferrer">External Link</a>
</p>
Actions

Also available in: Atom PDF