mirror of
https://github.com/caddyserver/caddy.git
synced 2026-11-11 19:37:55 +00:00
httpcaddyfile: update nested-route fixture to retain all handlers
The old expected JSON captured the handler-dropping bug. Keep invoke and the following response in each named route, matching the corrected adapter. Regression fixture for scan report 99a222bd-3c1e-4096-b94d-43076920963c. Code written by GitHub Copilot (GPT-6.1 Sol, Claude Opus 5.5); reviewed by mholt. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
09630fa5fa
commit
7cc0460738
1 file changed
+16
@@ -54,6 +54,10 @@
|
||||
{
|
||||
"handler": "invoke",
|
||||
"name": "b"
|
||||
},
|
||||
{
|
||||
"body": "a",
|
||||
"handler": "static_response"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -62,6 +66,10 @@
|
||||
{
|
||||
"handler": "invoke",
|
||||
"name": "c"
|
||||
},
|
||||
{
|
||||
"body": "b",
|
||||
"handler": "static_response"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -95,6 +103,10 @@
|
||||
{
|
||||
"handler": "invoke",
|
||||
"name": "loop2"
|
||||
},
|
||||
{
|
||||
"body": "loop1",
|
||||
"handler": "static_response"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -103,6 +115,10 @@
|
||||
{
|
||||
"handler": "invoke",
|
||||
"name": "loop1"
|
||||
},
|
||||
{
|
||||
"body": "loop2",
|
||||
"handler": "static_response"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user