[TYPO3-core] RFC: Bug #14179: TCA select doesn't show record titles whic start with <=

Georg Ringer news at ringerge.org
Fri Apr 23 08:15:06 CEST 2010


This is SVN patch request.

Type: bug

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

Branches: trunk (+ 4.3, 4.2 ?)

Problem:
------------
The title of related records is not shown if it starts with <=

this is because strip_tags is used and not htmlspecialchars. Additional
problem are other htmlspecialchars() which are applied later through the
code.

To test: Simply create a fe-usergroup with the title "<= bla" and go the
tab "access" inside a page.

Solution:
------------
The attached patch used htmlspecialchars instead of strip_tags and
removes the double hsc.
html_entity_decode is used to show the title correctly in a
multiple-selector box (two boxes, side-by-side)

Georg
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 14179-strip_tags_v2.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100423/96da779b/attachment.txt>


More information about the TYPO3-team-core mailing list