From 4a8281d4de9bc68054f9ea1abfea6b678b061bdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Fr=C3=B6hlich?= Date: Sun, 19 Apr 2026 12:37:06 +0200 Subject: [PATCH] Bugfix: rest path (URI) was always "/" even if a path is provided --- src/borgstore/backends/rest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/borgstore/backends/rest.py b/src/borgstore/backends/rest.py index e8462e7..b378ebb 100644 --- a/src/borgstore/backends/rest.py +++ b/src/borgstore/backends/rest.py @@ -51,7 +51,7 @@ def get_rest_backend(base_url: str): (?Phttp|https):// ((?P[^:]+):(?P[^@]+)@)? (?P[^:/]+)(:(?P\d+))? - (?P/) + (?P/.*)? """ m = re.match(http_regex, base_url, re.VERBOSE) if m: