Skip to content

Commit

Permalink
统一下低版本支持的ngx.re.match
Browse files Browse the repository at this point in the history
  • Loading branch information
loveshell committed May 14, 2015
1 parent 20173bd commit 834c937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 834c937

Please sign in to comment.