Class InsecureFilenameSanitizerPreProcessor.
More...
|
| process (FileStream $stream, Metadata $metadata) |
| This method gets invoked by the file upload service to process the file with the help of the processor. More...
|
|
◆ checkPath()
ILIAS\MetaData\Repository\Validation\Processor\InsecureFilenameSanitizerPreProcessor::checkPath |
( |
string |
$path | ) |
|
|
protected |
Definition at line 34 of file InsecureFilenameSanitizerPreProcessor.php.
References $parts.
40 foreach (
$parts as $part) {
41 if (in_array($part, $this->prohibited_names)) {
if($clientAssertionType !='urn:ietf:params:oauth:client-assertion-type:jwt-bearer'|| $grantType !='client_credentials') $parts
◆ getOKMessage()
ILIAS\MetaData\Repository\Validation\Processor\InsecureFilenameSanitizerPreProcessor::getOKMessage |
( |
| ) |
|
|
protected |
◆ getRejectionMessage()
ILIAS\MetaData\Repository\Validation\Processor\InsecureFilenameSanitizerPreProcessor::getRejectionMessage |
( |
| ) |
|
|
protected |
◆ $prohibited_names
array ILIAS\MetaData\Repository\Validation\Processor\InsecureFilenameSanitizerPreProcessor::$prohibited_names |
|
private |
The documentation for this class was generated from the following file: