mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-31 19:19:43 +01:00
Stop stripping scheme/host/credentials from cached symlink targets
Fixes symlinks to mounted hosts (samba, webdav) did not work
This commit is contained in:
parent
615db7683b
commit
63b9216e3c
@ -428,16 +428,6 @@ class Base
|
||||
// nothing to do
|
||||
return;
|
||||
}
|
||||
if($target[0] != '/')
|
||||
{
|
||||
$query = Vfs::parse_url($target, PHP_URL_QUERY);
|
||||
$target = Vfs::parse_url($target, PHP_URL_PATH);
|
||||
if($query)
|
||||
{
|
||||
// Don't cache without query, some StreamWrappers need those parameters
|
||||
$target = "?$query";
|
||||
}
|
||||
}
|
||||
|
||||
self::$symlink_cache[$path] = $target;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user