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

Stanislas Rolland typo3 at sjbr.ca
Mon Jan 19 20:42:01 CET 2009


Reminder #2. I would like someone to test this patch in either branch 
before committing.

Regards,
Stanislas

> 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 those 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