From 6b60ac83a1029bb21180ca5d4699c990fedcf5c7 Mon Sep 17 00:00:00 2001 From: Danila Kamaev Date: Tue, 5 May 2026 20:22:20 +0400 Subject: [PATCH] opds compatibility: fix absolute path resolution --- copyparty/httpcli.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index d0cff89c..00083961 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -7196,7 +7196,9 @@ class HttpCli(object): base = "" href = fn if use_abs_url: - base = "/" + vpath + "/" + base = self.args.SRS + if vpath: + base += vpath + "/" href = base + fn if fn in vfs_virt: