mirror of https://github.com/aredn/aredn.git
Allow & in service paths (#889)
This commit is contained in:
parent
b33f4df3cf
commit
eaa5d2f72b
|
@ -90,7 +90,7 @@ function validate_service_protocol(proto)
|
|||
end
|
||||
|
||||
function validate_service_suffix(suffix)
|
||||
if not suffix or suffix:match("[:-\"|<>]") or not suffix:match("^[%w/?._=#-]*$") then
|
||||
if not suffix or suffix:match("[:-\"|<>]") or not suffix:match("^[%w/?&._=#-]*$") then
|
||||
return false
|
||||
else
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue