ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilFileServicesFilenameSanitizer Class Reference

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)
 

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...
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilFileServicesFilenameSanitizer::__construct ( ilFileServicesSettings  $settings)

The documentation for this class was generated from the following file: