Update waf.lua

distributed
loveshell 2013-03-25 18:02:45 +08:00
parent 80075d3a94
commit 9a8a80555e
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ get=read_rule('get')
post=read_rule('post')
agent=read_rule('user-agent')
whitelist=read_rule('whitelist')
if ngx.re.match(ngx.var.request_uri,whitelist,"i") then
if ngx.re.match(ngx.var.request_uri,whitelist,"isjo") then
return
elseif ngx.req.get_body_data() and ngx.re.match(ngx.req.get_body_data(),[[^(?!Content-Disposition: form-data;(.*)filename="(.*).(php|jsp|phtml|asp|aspx|cgi)").*$]],"isjo") then
return