Project

General

Profile

Actions

Bug #79939

closed

ContentObjectRender renders unprocessed href attribute

Added by Malte Koitka about 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2017-02-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The ContentObjectRenderer does resolve the new t3:// links correctly. But it also renders the unprocessed/raw href attribute, resulting in two href attributes.

Content in DB:

<a href="t3://page?uid=4">My Link</a>

Content in Frontend:

<a href="index.php?id=4" href="t3://page?uid=4">My Link</a>

Expected content in Frontend:

<a href="index.php?id=4">My Link</a>

Currently this has no negative side effects on rendering, because the DOM simply ignores the second href.

I did have a look into the source: It seems that ATagParams does include "href="t3://*". Thus ContentObjectRenderer::typoLink resolves "parameter" and additionally outputs ATagParams. Though I'm not 100% sure where to tackle the root of that problem.

Actions

Also available in: Atom PDF