Revision 714ea7ca
ID | 714ea7ca8d06e9ad9fbb74c459274a7f0923eb9d |
Add an extra safety layer to _CleanDirectory
In order to protect from accidental use of _CleanDirectory on a random
directory, we add a list of allowed clean directories, somewhat similar
to _ALLOWED_UPLOAD_FILES (but statically computed).
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Files
- added
- modified
- copied
- renamed
- deleted