mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
broke windows
This commit is contained in:
parent
58ba71a76f
commit
bd367389b0
|
@ -593,8 +593,8 @@ def sanitize_fn(fn, ok="", bad=[]):
|
|||
["?", "?"],
|
||||
["*", "*"],
|
||||
]
|
||||
for bad, good in [x for x in remap if x[0] not in ok]:
|
||||
fn = fn.replace(bad, good)
|
||||
for a, b in [x for x in remap if x[0] not in ok]:
|
||||
fn = fn.replace(a, b)
|
||||
|
||||
bad.extend(["con", "prn", "aux", "nul"])
|
||||
for n in range(1, 10):
|
||||
|
|
Loading…
Reference in a new issue