Project

General

Profile

Actions

Bug #21625

closed

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

Added by Uschi Renziehausen about 15 years ago. Updated about 6 years ago.

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

0%

Estimated time:
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&&quot;>
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)


Files


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #21778: Enabling internal query parameters ruins links with anchorsClosedStanislas Rolland2009-12-02

Actions
Actions #1

Updated by Oliver Hader almost 15 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?

Actions #2

Updated by Steffen Kamper almost 15 years ago

sounds like wrong configured linkhandler

Actions #3

Updated by Stanislas Rolland almost 15 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.

Actions #4

Updated by Uschi Renziehausen almost 15 years ago

Hey Stan,

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

Uschi (sending some coffee over the bugtracker)

Actions #5

Updated by Stanislas Rolland almost 15 years ago

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

Actions #6

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF