mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
Test if we should skip or unprotect the url
This commit is contained in:
parent
bf0dc73381
commit
eb2872d5ed
1 changed files with 2 additions and 1 deletions
|
@ -256,7 +256,8 @@ logger.debug("longest protected "..longest_protected_match)
|
|||
--
|
||||
|
||||
if longest_skipped_match ~= ""
|
||||
and string.len(longest_skipped_match) >= string.len(longest_protected_match) then
|
||||
and string.len(longest_skipped_match) >= string.len(longest_protected_match)
|
||||
and string.len(longest_skipped_match) > string.len(longest_unprotected_match) then
|
||||
logger.debug("Skipping "..ngx.var.uri)
|
||||
return hlp.pass()
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue