@@ -80,7 +80,7 @@ function whiteurl()
8080 if WhiteCheck then
8181 if wturlrules ~= nil then
8282 for _ ,rule in pairs (wturlrules ) do
83- if ngxmatch (ngx .var .request_uri ,rule ," imjo " ) then
83+ if ngxmatch (ngx .var .request_uri ,rule ," isjo " ) then
8484 return true
8585 end
8686 end
@@ -100,7 +100,7 @@ function args()
100100 else
101101 data = val
102102 end
103- if data and type (data ) ~= " boolean" and rule ~= " " and ngxmatch (unescape (data ),rule ," imjo " ) then
103+ if data and type (data ) ~= " boolean" and rule ~= " " and ngxmatch (unescape (data ),rule ," isjo " ) then
104104 log (' GET' ,ngx .var .request_uri ," -" ,rule )
105105 say_html ()
106106 return true
114114function url ()
115115 if UrlDeny then
116116 for _ ,rule in pairs (urlrules ) do
117- if rule ~= " " and ngxmatch (ngx .var .request_uri ,rule ," imjo " ) then
117+ if rule ~= " " and ngxmatch (ngx .var .request_uri ,rule ," isjo " ) then
118118 log (' GET' ,ngx .var .request_uri ," -" ,rule )
119119 say_html ()
120120 return true
@@ -128,7 +128,7 @@ function ua()
128128 local ua = ngx .var .http_user_agent
129129 if ua ~= nil then
130130 for _ ,rule in pairs (uarules ) do
131- if rule ~= " " and ngxmatch (ua ,rule ," imjo " ) then
131+ if rule ~= " " and ngxmatch (ua ,rule ," isjo " ) then
132132 log (' UA' ,ngx .var .request_uri ," -" ,rule )
133133 say_html ()
134134 return true
@@ -139,7 +139,7 @@ function ua()
139139end
140140function body (data )
141141 for _ ,rule in pairs (postrules ) do
142- if rule ~= " " and data ~= " " and ngxmatch (unescape (data ),rule ," imjo " ) then
142+ if rule ~= " " and data ~= " " and ngxmatch (unescape (data ),rule ," isjo " ) then
143143 log (' POST' ,ngx .var .request_uri ,data ,rule )
144144 say_html ()
145145 return true
@@ -151,7 +151,7 @@ function cookie()
151151 local ck = ngx .var .http_cookie
152152 if CookieCheck and ck then
153153 for _ ,rule in pairs (ckrules ) do
154- if rule ~= " " and ngxmatch (ck ,rule ," imjo " ) then
154+ if rule ~= " " and ngxmatch (ck ,rule ," isjo " ) then
155155 log (' Cookie' ,ngx .var .request_uri ," -" ,rule )
156156 say_html ()
157157 return true
0 commit comments