We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a33a487 commit 5917fe5Copy full SHA for 5917fe5
crates/rust-mcp-sdk/src/mcp_http/middleware/dns_rebind_protector.rs
@@ -11,7 +11,7 @@
11
//!
12
//! - If `allowed_hosts` is `Some(vec![..])` and non-empty → `Host` header **must** match (case-insensitive)
13
//! - If `allowed_origins` is `Some(vec![..])` and non-empty → `Origin` header **must** match (case-insensitive)
14
-//! - Missing or unparseable headers → treated as invalid → 403 Forbidden
+//! - Missing or unparsable headers → treated as invalid → 403 Forbidden
15
//! - If allowlist is `None` or empty → that check is skipped
16
17
use crate::{
0 commit comments