avoid exif_imagetype exception with small files/corrupt data URI
commit3747cb7efbdf4d2d3cff1088e3f6fb19df291a05
authorBart Butler <bart.c.butler@gmail.com>
Wed, 13 Jul 2016 00:23:12 +0000 (12 17:23 -0700)
committerEdward Z. Yang <ezyang@cs.stanford.edu>
Sat, 16 Jul 2016 12:23:17 +0000 (16 05:23 -0700)
tree41f26097e5b86478d443d935e269ba57358e994e
parent0166c3728b30446f2ed63204f2e4278275c9ecff
avoid exif_imagetype exception with small files/corrupt data URI
library/HTMLPurifier/URIScheme/data.php
tests/HTMLPurifier/URISchemeTest.php