refactor: move lib/policy/config to lib/config

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2025-11-19 15:53:30 -05:00
parent 02989f03d0
commit 8912050882
97 changed files with 41 additions and 40 deletions

21
lib/config/testdata/bad/badregexes.json vendored Normal file
View File

@@ -0,0 +1,21 @@
{
"bots": [
{
"name": "path-bad",
"path_regex": "a(b",
"action": "DENY"
},
{
"name": "user-agent-bad",
"user_agent_regex": "a(b",
"action": "DENY"
},
{
"name": "headers-bad",
"headers": {
"Accept-Encoding": "a(b"
},
"action": "DENY"
}
]
}