Definition at line 28 of file Util.php.
◆ normalizeRelativePath()
static ILIAS\Filesystem\Provider\FlySystem\Util::normalizeRelativePath |
( |
string |
$path | ) |
|
|
static |
Definition at line 30 of file Util.php.
References $parts.
Referenced by ILIAS\Filesystem\Provider\FlySystem\FlySystemFileAccess\read().
32 $path = preg_replace(
"#\\\\(?!['\\\])#m",
'/',
$path);
33 $path = preg_replace(
'#\p{C}+#u',
'', (
string)
$path);
36 foreach (explode(
'/', (
string)
$path) as $part) {
44 throw new \LogicException(
45 'Path is outside of the defined root, path: [' . $path .
']' 57 return implode(
'/',
$parts);
if($clientAssertionType !='urn:ietf:params:oauth:client-assertion-type:jwt-bearer'|| $grantType !='client_credentials') $parts
The documentation for this class was generated from the following file:
- components/ILIAS/Filesystem/src/Provider/FlySystem/Util.php