Browse Source

find to match

pull/47/merge
loveshell 10 years ago
parent
commit
20173bd93d
  1. 2
      waf.lua

2
waf.lua

@ -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

Loading…
Cancel
Save