[TYPO3-core] RFC #9774: Incorrect validation of allowed classes in RTE transformation

Uschi Renziehausen typo3news at otherone.de
Tue Jan 20 13:05:15 CET 2009


+1 by testing against trunk

Multiple classes are evaluated correctly now. I found out that there is another bug with case insensitivity, but that is a different problem.

Uschi

Stanislas Rolland wrote:
> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=9774
> 
> Branches:
> 4.2 and trunk
> 
> Problem:
> Class validation by the default RTE transformation is incorrect:
> 1. validation of class attribute is case-insensitive;
> 2. if the class attribute specifies more than one class, the attribute 
> is considered invalid and removed.
> 
> Solution:
> 1. Validate class names without applying upper-casing;
> 2. Remove from the attribute only thoses classes which are not allowed. 
> Remove the attribute only if no allowed class was found.
> 
> Regards,
> Stanislas
> 


More information about the TYPO3-team-core mailing list