Open fphammerle opened 5 years ago
ZHandler.__init__ reads $_Z_EXCLUDE_DIRS. However, neither cmd_handler nor ZHandler.add check against this list.
ZHandler.__init__
$_Z_EXCLUDE_DIRS
cmd_handler
ZHandler.add
Example:
$ $_Z_EXCLUDE_DIRS = ['/tmp', '/tmp/a'] $ $_Z_DATA = '/tmp/z' $ cat /tmp/z /tmp|1|1536146454 $ mkdir a $ cd a $ cd .. $ cat /tmp/z /tmp|4|1536146468 /tmp/a|1|1536139266
Expected /tmp/z to be empty
/tmp/z
ZHandler.__init__
reads$_Z_EXCLUDE_DIRS
. However, neithercmd_handler
norZHandler.add
check against this list.Example:
Expected
/tmp/z
to be empty