« Previous | Next » 

Revision 714ea7ca

ID714ea7ca8d06e9ad9fbb74c459274a7f0923eb9d

Added by Iustin Pop about 14 years ago

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 <>
Reviewed-by: Michael Hanselmann <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences