[TYPO3-core] RFC #12682: Section links coming from RTE broken in FE

Stanislas Rolland typo3 at sjbr.ca
Thu Nov 26 16:39:07 CET 2009


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=12682

Branches: trunk

Problem:
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.

Solution:
1. Remove superfluous ampersand coming from the RTE.
2. Section mark should be last part of url in order to be correctly 
parsed on the way to the database.
3. Typolink parameter is a triplet (id#section, type, query parameters): 
   when rendering for the RTE (t3lib_parsehtml_proc) or for the FE 
(tslib_content), the parameter must be exploded before searching for the 
section mark.

Regards
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: typo3core_bugfix_12682_trunk.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091126/55652664/attachment.txt>


More information about the TYPO3-team-core mailing list