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

Stanislas Rolland typo3 at sjbr.ca
Wed Nov 12 02:13:26 CET 2008


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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: typo3core_bugfix_9774.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081111/f96b407e/attachment.txt 


More information about the TYPO3-team-core mailing list