|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class ilFileServicesFilenameSanitizer. More...
Inheritance diagram for ilFileServicesFilenameSanitizer:
Collaboration diagram for ilFileServicesFilenameSanitizer:Public Member Functions | |
| __construct (ilFileServicesSettings $settings) | |
Public Member Functions inherited from ILIAS\Filesystem\Security\Sanitizing\FilenameSanitizerImpl | |
| __construct (private array $whitelist) | |
| FilenameSanitizerImpl constructor. More... | |
| isClean (string $filename) | |
| Checks if the filename is prefixed with a valid whitelisted ending. More... | |
| sanitize (string $filename) | |
| @inheritDoc More... | |
| isClean (string $filename) | |
| Checks if the filename is prefixed with a valid whitelisted ending. More... | |
| sanitize (string $filename) | |
| Validates the file ending, with the filesystem whitelist provided by ILIAS. More... | |
Additional Inherited Members | |
Data Fields inherited from ILIAS\Filesystem\Security\Sanitizing\FilenameSanitizer | |
| const | CLEAN_FILE_SUFFIX = 'sec' |
| This file suffix will be used to sanitize not whitelisted file names. More... | |
Class ilFileServicesFilenameSanitizer.
Definition at line 26 of file class.ilFileServicesFilenameSanitizer.php.
| ilFileServicesFilenameSanitizer::__construct | ( | ilFileServicesSettings | $settings | ) |
Definition at line 28 of file class.ilFileServicesFilenameSanitizer.php.
References ILIAS\GlobalScreen\Provider\__construct(), ilFileServicesSettings\getBlackListedSuffixes(), and ilFileServicesSettings\getWhiteListedSuffixes().
Here is the call graph for this function: