Commit 334ae10
committed
test(cli): update allow-CIDR e2e for declaration-ceiling semantics
With http-client migrated to declare host = "*", a user rule that's
CIDR-only (no host) has nothing to intersect with at the declaration
layer — the effective allow becomes empty and the HTTP layer denies
at decide_uri before DNS runs. Update the expected error from
DnsError (old DNS-resolver-filter path) to HttpRequestDenied and
rename the test to reflect that CIDR-only user rules are no longer
effective against host-based declarations.1 parent c3614f0 commit 334ae10
1 file changed
Lines changed: 11 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
207 | 209 | | |
208 | 210 | | |
209 | 211 | | |
| |||
217 | 219 | | |
218 | 220 | | |
219 | 221 | | |
220 | | - | |
| 222 | + | |
221 | 223 | | |
222 | | - | |
223 | | - | |
| 224 | + | |
| 225 | + | |
224 | 226 | | |
225 | 227 | | |
226 | 228 | | |
| |||
0 commit comments