support xdev/xvol in rootless vfs; closes #603

This commit is contained in:
ed 2025-08-14 18:09:23 +00:00
parent 6303effe59
commit 554cc2f3ee

View file

@ -704,7 +704,7 @@ class HttpCli(object):
cookies["b"] = ""
vn, rem = self.asrv.vfs.get(self.vpath, self.uname, False, False)
if "xdev" in vn.flags or "xvol" in vn.flags:
if vn.realpath and ("xdev" in vn.flags or "xvol" in vn.flags):
ap = vn.canonical(rem)
avn = vn.chk_ap(ap)
else: