mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +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
829cf0e1b2
commit
2a64e79e65
@ -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