mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
[enh] Add comment about lua pattern deprecated
This commit is contained in:
parent
9cbe43862b
commit
b90153a5ca
1 changed files with 2 additions and 0 deletions
|
@ -188,6 +188,8 @@ end
|
||||||
-- If the URL matches one of the `redirected_urls` in the configuration file,
|
-- If the URL matches one of the `redirected_urls` in the configuration file,
|
||||||
-- just redirect to the target URL/URI
|
-- just redirect to the target URL/URI
|
||||||
--
|
--
|
||||||
|
-- A match function to support PCRE and lua pattern
|
||||||
|
-- lua pattern will be deprecated in YunoHost
|
||||||
function match(s, regex)
|
function match(s, regex)
|
||||||
if rex.match(s, regex) or string.match(s,regex) then
|
if rex.match(s, regex) or string.match(s,regex) then
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in a new issue