find to match

pull/47/merge
loveshell 2015-05-14 11:52:56 +08:00
parent caff7def0b
commit 20173bd93d
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ elseif PostCheck then
fileExtCheck(m[3])
filetranslate = true
else
if ngx.re.find(data,"Content-Disposition:",'isjo') then
if ngx.re.match(data,"Content-Disposition:",'isjo') then
filetranslate = false
end
if filetranslate==false then