diff --git a/lua/cfc_http_restrictions/shared/url.lua b/lua/cfc_http_restrictions/shared/url.lua index 2b14786..28614ee 100644 --- a/lua/cfc_http_restrictions/shared/url.lua +++ b/lua/cfc_http_restrictions/shared/url.lua @@ -10,8 +10,8 @@ CFCHTTP.URLPattern = "(%a+)://([^:/ \t]+):?(%d*)/?.*" -- Deprecated CFCHTTP.URLPatternNoGroups = "%a+://[^:/ \t\"]+:?%d*/?[^\n\" \\]*" -CFCHTTP.URLPatternNoGroupsNoPath = "%a+://[^:/ \t\"]+:?%d*" -CFCHTTP.URLPatternNoGroupsHasPath = "%a+://[^:/ \t\"]+:?%d*/[^\n\" \\]*" +CFCHTTP.URLPatternNoGroupsNoPath = "%a+://[^:/;'%(%) \t\"]+:?%d*" +CFCHTTP.URLPatternNoGroupsHasPath = CFCHTTP.URLPaternNoGroupsNoPath .. "/[^\n\" \\]*" ---@param url string