Hans Leidekker hans@it.vu.nl writes:
Changelog:
- Reject wildcards in directory names
There's no need to check in both A and W functions since the A one calls the W one anyway. Also you should only check the part of the filename that is actually being created, and there are probably other invalid characters to check for too.