« Previous | Next » 

Revision fbdac0d9

IDfbdac0d912e794705b18637a611c9d87265c1501
Parent 04569469
Child 43a8f36a

Added by Michael Hanselmann over 11 years ago

bdev: Add functions to verify file storage paths

- LoadAllowedFileStoragePaths: Loads a list of allowed file storage
paths from a file
- CheckFileStoragePath: Checks a path against the list of allowed paths

The unit test for “utils.IsBelowDir” is updated with cases which weren't
tested before.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences