mirror of
https://github.com/9001/copyparty.git
synced 2025-11-02 21:13:26 +00:00
file extensions dont contain whitespace
This commit is contained in:
@@ -1305,7 +1305,7 @@ class HttpCli(object):
|
||||
ext = "folder"
|
||||
exact = True
|
||||
|
||||
bad = re.compile(r"[](){}/[]|^[0-9_-]*$")
|
||||
bad = re.compile(r"[](){}/ []|^[0-9_-]*$")
|
||||
n = ext.split(".")[::-1]
|
||||
if not exact:
|
||||
n = n[:-1]
|
||||
|
||||
Reference in New Issue
Block a user