统一下低版本支持的ngx.re.match

pull/47/merge
loveshell 2015-05-14 12:07:14 +08:00
parent 20173bd93d
commit 834c937a83
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.match(data,"Content-Disposition:",'isjo') then
if ngxmatch(data,"Content-Disposition:",'isjo') then
filetranslate = false
end
if filetranslate==false then