mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-12 17:13:57 +02:00
[3.1.1] Implement more robust imagecrash protection for CSS width/height.
- Change API for HTMLPurifier_AttrDef_CSS_Length - Implement HTMLPurifier_AttrDef_Switch class - Implement HTMLPurifier_Length->compareTo, and make make() accept object instances git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1754 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
3
TODO
3
TODO
@@ -12,8 +12,7 @@ amount of effort to implement, it may get endlessly delayed. Do not be
|
||||
afraid to cast your vote for the next feature to be implemented!
|
||||
|
||||
- Implement validation for query and for fragment
|
||||
- Allow imagecrash protection in CSS images to be turned off
|
||||
- Allow imagecrash protection in CSS to be configurable with a max value
|
||||
- Prevent percentages from being used in width/height attribute in images
|
||||
- Maintain old attribute data in tokens (configurable?)
|
||||
- Lazy update of token when validating attributes?
|
||||
- Investigate how early internal structures can be accessed; this would
|
||||
|
Reference in New Issue
Block a user