Harden obj name restriction
This commit is contained in:
parent
c0846a9b52
commit
9b3643e82d
2
db.lua
2
db.lua
@ -192,7 +192,7 @@ local function testobjfilename(fname)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return not fname:find"[/\\\0-\31%<%>%:%\"%|%?%*]" and #fname <= 56
|
return not fname:find"[/\\\0-\31%<%>%:%\"%|%?%*%[%]%%]" and #fname <= 56
|
||||||
end
|
end
|
||||||
|
|
||||||
local function urltophysical(p)
|
local function urltophysical(p)
|
||||||
|
Loading…
Reference in New Issue
Block a user