diff --git a/api/src/Vfs/Base.php b/api/src/Vfs/Base.php index 51696f8fb4..6cf09a96f2 100644 --- a/api/src/Vfs/Base.php +++ b/api/src/Vfs/Base.php @@ -311,7 +311,7 @@ class Base // Make sure we don't cache anything with a link anywhere in the url, since it fails with eg: /apps/InfoLog/Open$/2021$. // is_link() is not always right here $is_link = is_link($url) || (self::symlinkCache_resolve(Vfs::parse_url($url,PHP_URL_PATH)) !== Vfs::parse_url($url,PHP_URL_PATH)); - if($is_link) + if($is_link && $do_symlink) { $old_url = $url; $_url = self::symlinkCache_resolve(Vfs::parse_url($url,PHP_URL_PATH));