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.
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)
Files
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?
sounds like wrong configured linkhandler
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.
Hey Stan,
thx a lot! My anchor links are working again like a charm.
Uschi (sending some coffee over the bugtracker)
Committed to SVN TYPO3core trunk (revision 6644) and branch TYPO3_4-3 (revision 6645).
- Status changed from Resolved to Closed
Also available in: Atom
PDF