mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
file extensions dont contain whitespace
This commit is contained in:
parent
bed27f2b43
commit
356512270a
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue