[core] Schema: reject wildcard header names, cap file size and upstreams, require <hostname>.toml

This commit is contained in:
2026-11-07 15:44:09 +01:00
parent 58d0397875
commit 60aee5d78a
11 changed files with 221 additions and 59 deletions
+16 -1
View File
@@ -179,6 +179,21 @@
{
"handler": "subroute",
"routes": [
{
"handle": [
{
"handler": "headers",
"request": {
"delete": [
"Remote-User",
"Remote-Groups",
"Remote-Email",
"Remote-Name"
]
}
}
]
},
{
"handle": [
{
@@ -392,7 +407,7 @@
{
"header_regexp": {
"Upgrade": {
"pattern": "(?i)^websocket$"
"pattern": "(?i)(^|,)\\s*websocket\\s*(,|$)"
}
}
}