53 $path = str_replace(
'\\',
'/', $path);
54 $path = preg_replace(
'#\p{C}+#u',
'', $path);
57 foreach (explode(
'/', (
string) $path) as $part) {
65 throw new \LogicException(
66 'Path is outside of the defined root, path: [' . $path .
']' 78 return implode(
'/',
$parts);
if($clientAssertionType !='urn:ietf:params:oauth:client-assertion-type:jwt-bearer'|| $grantType !='client_credentials') $parts
process(FileStream $stream, Metadata $metadata)
static sanitizeFileName(string $filename)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class FilenameSanitizerPreProcessor.
normalizeRelativePath(string $path)