pull/116/merge
junyi.li 2017-03-17 09:49:53 +00:00 committed by GitHub
commit 1fe350e377
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