@@ -80,7 +80,7 @@ function whiteurl()
80
80
if WhiteCheck then
81
81
if wturlrules ~= nil then
82
82
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
84
84
return true
85
85
end
86
86
end
@@ -100,7 +100,7 @@ function args()
100
100
else
101
101
data = val
102
102
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
104
104
log (' GET' ,ngx .var .request_uri ," -" ,rule )
105
105
say_html ()
106
106
return true
114
114
function url ()
115
115
if UrlDeny then
116
116
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
118
118
log (' GET' ,ngx .var .request_uri ," -" ,rule )
119
119
say_html ()
120
120
return true
@@ -128,7 +128,7 @@ function ua()
128
128
local ua = ngx .var .http_user_agent
129
129
if ua ~= nil then
130
130
for _ ,rule in pairs (uarules ) do
131
- if rule ~= " " and ngxmatch (ua ,rule ," imjo " ) then
131
+ if rule ~= " " and ngxmatch (ua ,rule ," isjo " ) then
132
132
log (' UA' ,ngx .var .request_uri ," -" ,rule )
133
133
say_html ()
134
134
return true
@@ -139,7 +139,7 @@ function ua()
139
139
end
140
140
function body (data )
141
141
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
143
143
log (' POST' ,ngx .var .request_uri ,data ,rule )
144
144
say_html ()
145
145
return true
@@ -151,7 +151,7 @@ function cookie()
151
151
local ck = ngx .var .http_cookie
152
152
if CookieCheck and ck then
153
153
for _ ,rule in pairs (ckrules ) do
154
- if rule ~= " " and ngxmatch (ck ,rule ," imjo " ) then
154
+ if rule ~= " " and ngxmatch (ck ,rule ," isjo " ) then
155
155
log (' Cookie' ,ngx .var .request_uri ," -" ,rule )
156
156
say_html ()
157
157
return true
0 commit comments