Bug #21625

Section links coming from RTE broken in FE: rendered as #14185& instead of #c123

Added by Uschi Renziehausen about 10 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Must have
Category:
Communication
Target version:
-
Start date:
2009-11-20
Due date:
% Done:

0%

TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Problem:
If you enter a link to a specific CE via RTE the href-attribute points to a nonexisting id. Instead of #c123 you get #14185& in FE.

When you first enter the link in RTE, the href looks like this:
<a class="internal-link" href="http://gift.uni-erfurt.t3/?id=512#14185&">
In DB the link looks like this:
<link 512#14185& - internal-link>
And FE:
href="/area-51/bilder/bilder-im-rahmen/#14185&"

Uschi

(issue imported from #M12682)

typo3core_bugfix_12682_trunk_v2.patch View (6.11 KB) Administrator Admin, 2009-12-01 19:59

typo3core_bugfix_12682_typo3_4-3.patch View (6.11 KB) Administrator Admin, 2009-12-01 20:00


Related issues

Duplicated by TYPO3 Core - Bug #21778: Enabling internal query parameters ruins links with anchors Closed 2009-12-02

History

#1 Updated by Oliver Hader about 10 years ago

Works fine on my site with 4.3-RC1.
Where is the ampersand "&" comming from? Are there extensions installed on your installation that modify these links?

#2 Updated by Steffen Kamper about 10 years ago

sounds like wrong configured linkhandler

#3 Updated by Stanislas Rolland about 10 years ago

1. There is a superfluous ampersand coming from the RTE (when the query parameters field is enabled but contains no value).
2. Links that have both a section and additional parameters are not correctly inserted in the RTE and therefore are not correctly transformed on the way to the database.
3. Such links that have both a section and additional parameters are not correctly transformed on the way to the RTE.
4. Finally, whether they come from the RTE or not, typolinks that have both a section and additional parameters are not correctly rendered on the frontend.

Please test attached patch.

#4 Updated by Uschi Renziehausen about 10 years ago

Hey Stan,

thx a lot! My anchor links are working again like a charm.

Uschi (sending some coffee over the bugtracker)

#5 Updated by Stanislas Rolland about 10 years ago

Committed to SVN TYPO3core trunk (revision 6644) and branch TYPO3_4-3 (revision 6645).

#6 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF