[3.1.1] Implement more robust imagecrash protection for CSS width/height.
commit1a958520074c62303056ce0ec1e16261d86320be
authorEdward Z. Yang <edwardzyang@thewritingpot.com>
Wed, 21 May 2008 01:56:48 +0000 (21 01:56 +0000)
committerEdward Z. Yang <edwardzyang@thewritingpot.com>
Wed, 21 May 2008 01:56:48 +0000 (21 01:56 +0000)
treeb803118ed95063a40eac13bf31b11322c86a4ac8
parentc3fab7200ed2d9e399915a503c929400e626d201
[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
15 files changed:
NEWS
TODO
configdoc/usage.xml
library/HTMLPurifier.includes.php
library/HTMLPurifier.safe-includes.php
library/HTMLPurifier/AttrDef/CSS/Length.php
library/HTMLPurifier/AttrDef/Switch.php [new file with mode: 0644]
library/HTMLPurifier/CSSDefinition.php
library/HTMLPurifier/ConfigSchema/schema.ser
library/HTMLPurifier/ConfigSchema/schema/CSS.MaxImgLength.txt [new file with mode: 0644]
library/HTMLPurifier/Length.php
tests/HTMLPurifier/AttrDef/CSS/LengthTest.php
tests/HTMLPurifier/AttrDef/SwitchTest.php [new file with mode: 0644]
tests/HTMLPurifier/LengthTest.php
tests/HTMLPurifier/Strategy/ValidateAttributesTest.php