mirror of
https://github.com/9001/copyparty.git
synced 2026-11-20 05:06:34 +00:00
file extensions dont contain whitespace
This commit is contained in:
1 parent
bed27f2b43
commit
356512270a
1 file changed
+1
-1
@@ -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