Commit 5c37cd3
authored
fix(caddy): reject invalid split_path at provision time (#2350)
A non-ASCII `split_path` caused `WithRequestSplitPath`'s error to be
swallowed and a nil `RequestOption` to be stored, panicking on the first
request. The fix propagates the error from `Provision`, rejecting the
config at startup with a clear message.1 parent 5a9bc7f commit 5c37cd3
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
124 | 123 | | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
0 commit comments