Fix shares could not find files after fe79fe390f

This commit is contained in:
nathangray 2021-04-14 10:58:42 -06:00
parent 818f99fdbf
commit d9b29fa82a

View File

@ -310,7 +310,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)) !== $url);
$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)
{
$old_url = $url;