Fix #49; prevent readdir infinite loop when cache directory not listable.
commitf14076dc3e19524c12a6a2c803684546170ce511
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Sun, 27 Mar 2016 21:53:31 +0000 (27 14:53 -0700)
committerEdward Z. Yang <ezyang@cs.stanford.edu>
Sun, 27 Mar 2016 21:53:31 +0000 (27 14:53 -0700)
treef1e48246caff556855b53536141f4bce531c28cf
parent91fd55c857f7d219b1c10d11dee8b783b04e923e
Fix #49; prevent readdir infinite loop when cache directory not listable.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
NEWS
library/HTMLPurifier/DefinitionCache.php
library/HTMLPurifier/DefinitionCache/Serializer.php
tests/HTMLPurifier/DefinitionCache/SerializerTest.php