Skip to content

Commit 20173bd

Browse files
committed
find to match
1 parent caff7de commit 20173bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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.find(data,"Content-Disposition:",'isjo') then
49+
if ngx.re.match(data,"Content-Disposition:",'isjo') then
5050
filetranslate = false
5151
end
5252
if filetranslate==false then

0 commit comments

Comments
 (0)