mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
Api: Fix bug where StreamWrappers that mapped onto other StreamWrappers would be parsed earlier than we want, leading to the first StreamWrapper not getting used.
This commit is contained in:
parent
96d6b22db7
commit
4606a29408
@ -314,7 +314,7 @@ class Base
|
||||
if($is_link && $do_symlink)
|
||||
{
|
||||
$old_url = $url;
|
||||
$_url = self::symlinkCache_resolve(Vfs::parse_url($url,PHP_URL_PATH));
|
||||
$_url = self::symlinkCache_resolve($url);
|
||||
$url = @readlink($url) ?: ($_url != $parts['path'] ?
|
||||
str_replace([$parts['path'],Vfs::parse_url($old_url,PHP_URL_SCHEME)],[$_url,Vfs::parse_url(Vfs::resolve_url($_url),PHP_URL_SCHEME)],$url) : null) ?:$url;
|
||||
$is_link = $old_url == $url;
|
||||
|
Loading…
Reference in New Issue
Block a user