Stop using umask to make definition cache. Fixes #32
commit0c3e68dd0357321b5a5818c3aa832b1cc24a4b1f
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Tue, 9 Dec 2014 02:21:56 +0000 (8 18:21 -0800)
committerEdward Z. Yang <ezyang@cs.stanford.edu>
Tue, 9 Dec 2014 02:30:54 +0000 (8 18:30 -0800)
treedea0a299152d2499838a80f4406332f34b94b3c0
parentb307f3d9ef0960b74ea8bd8d5bbdef2049368947
Stop using umask to make definition cache.  Fixes #32

This is not really the right way to solve the ACL problem,
but there isn't really any reason we should be mucking about
with the umask.

Mucked around with the test case to make it pass, but I think
it's probably a bit delicate now.

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