fix: clean request path before acls (#1055)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Stavros
2026-07-30 19:35:31 +03:00
committed by GitHub
co-authored by Claude Fable 5
parent cbd92a1104
commit 6d5563db2c
5 changed files with 192 additions and 5 deletions
+9 -1
View File
@@ -58,7 +58,15 @@ func CreateTestConfigs(t *testing.T) (model.Config, model.RuntimeConfig) {
Domain: "path-allow.example.com",
},
Path: model.AppPath{
Allow: "/allowed",
Allow: "^/allowed$",
},
},
"app_path_block": {
Config: model.AppConfig{
Domain: "path-block.example.com",
},
Path: model.AppPath{
Block: "^/admin$",
},
},
"app_user_allow": {