6cd0fd3f8620893d3868fd51b5e96a207d05e412
method_not_allowed_fallback(decoy_method_not_allowed) was registered on the default router before the extras merge; axum applies the 405 fallback only to MethodRouters present at call time, so wrong-method probes on extra routes returned axum's bare 405 (no body, no Server: nginx) — the exact stealth probe SRV-07 neutralized for the default surface. Re-apply the fallback after the extras merge (idempotent for routers the earlier call covered — axum 0.8.9 replaces only Fallback::Default). Tests pin both shapes: decoy 405 on an extra route, and no regression of the default-surface 405 after the merge. Verification: cargo test, cargo clippy --all-targets -- -D warnings, cargo fmt --check
Description
No description provided
5.7 MiB
Languages
Rust
99.9%