Skip to content

Commit

Permalink
find to match
Browse files Browse the repository at this point in the history
  • Loading branch information
loveshell committed May 14, 2015
1 parent caff7de commit 20173bd
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.find(data,"Content-Disposition:",'isjo') then
if ngx.re.match(data,"Content-Disposition:",'isjo') then
filetranslate = false
end
if filetranslate==false then
Expand Down

0 comments on commit 20173bd

Please sign in to comment.