[TYPO3-core] RFC: Bug #14179: TCA select doesn't show record titles whic start with <=
Gregor Hermens
gregor at a-mazing.de
Fri Apr 30 12:33:59 CEST 2010
+1 by reading and testing
Gregor
Georg Ringer schrieb:
> 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
--
http://www.a-mazing.de/ | Certified TYPO3 Integrator
More information about the TYPO3-team-core
mailing list