54     public function sanitize(
string $filename): string;
 sanitize(string $filename)
Validates the file ending, with the filesystem whitelist provided by ILIAS. 
 
isClean(string $filename)
Checks if the filename is prefixed with a valid whitelisted ending. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
The filename sanitizer verifies and fixes file name endings. 
 
const CLEAN_FILE_SUFFIX
This file suffix will be used to sanitize not whitelisted file names.