Allow & in service paths (#889)

This commit is contained in:
Tim Wilkinson 2023-07-03 23:19:15 -07:00 committed by GitHub
parent b33f4df3cf
commit eaa5d2f72b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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