Modify Ext regex

pull/116/head
root 2017-03-17 15:14:51 +08:00
parent 314a2f62ec
commit 5af60ec0ee
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ elseif PostCheck then
return true
end
size = size + len(data)
local m = ngxmatch(data,[[Content-Disposition: form-data;(.+)filename="(.+)\\.(.*)"]],'ijo')
local m = ngxmatch(data,[[Content-Disposition: form-data;(.+)filename="(.+)\.(.*)"]],'ijo')
if m then
fileExtCheck(m[3])
filetranslate = true