From 20173bd93dd465d31c8a09e5b7cce6d9e7584f8a Mon Sep 17 00:00:00 2001 From: loveshell <82163261@qq.com> Date: Thu, 14 May 2015 11:52:56 +0800 Subject: [PATCH] find to match --- waf.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waf.lua b/waf.lua index a6e5fdc..e472ec2 100644 --- a/waf.lua +++ b/waf.lua @@ -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