mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-10 09:21:44 -04:00
Bugfix: local path regex should not match s3 and b2 urls
This commit is contained in:
parent
4cffced692
commit
9a5d2bc3ce
1 changed files with 1 additions and 1 deletions
|
|
@ -451,7 +451,7 @@ class Location:
|
|||
# path may contain any chars. to avoid ambiguities with other regexes,
|
||||
# it must not start with "//" nor with "scheme://" nor with "rclone:".
|
||||
local_path_re = r"""
|
||||
(?!(//|(ssh|socket|sftp|file)://|rclone:))
|
||||
(?!(//|(ssh|socket|sftp|file)://|(rclone|s3|b2):))
|
||||
(?P<path>.+)
|
||||
"""
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue