Skip to content

Commit 834c937

Browse files
committed
统一下低版本支持的ngx.re.match
1 parent 20173bd commit 834c937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

waf.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ elseif PostCheck then
4646
fileExtCheck(m[3])
4747
filetranslate = true
4848
else
49-
if ngx.re.match(data,"Content-Disposition:",'isjo') then
49+
if ngxmatch(data,"Content-Disposition:",'isjo') then
5050
filetranslate = false
5151
end
5252
if filetranslate==false then

0 commit comments

Comments
 (0)