parent
38521f794e
commit
fd566bd0e2
2
init.lua
2
init.lua
|
@ -54,7 +54,7 @@ function white_url_check()
|
||||||
local rule_str = string.sub(rule,1,2)
|
local rule_str = string.sub(rule,1,2)
|
||||||
local from, to, err = rulematch(REQ_URI,string.lower(rule),"jo")
|
local from, to, err = rulematch(REQ_URI,string.lower(rule),"jo")
|
||||||
if rule_str == "\\." then
|
if rule_str == "\\." then
|
||||||
local wfrom, wto, werr = rulematch(REQ_URI,"%?","jo")
|
local wfrom, wto, werr = rulematch(unescape(REQ_URI),"%?","jo")
|
||||||
if from and REQ_URI_LEN == to and wfrom == nil then
|
if from and REQ_URI_LEN == to and wfrom == nil then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue