Skip to content

Commit 5917fe5

Browse files
committed
fix: typo
1 parent a33a487 commit 5917fe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust-mcp-sdk/src/mcp_http/middleware/dns_rebind_protector.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//!
1212
//! - If `allowed_hosts` is `Some(vec![..])` and non-empty → `Host` header **must** match (case-insensitive)
1313
//! - 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
14+
//! - Missing or unparsable headers → treated as invalid → 403 Forbidden
1515
//! - If allowlist is `None` or empty → that check is skipped
1616
1717
use crate::{

0 commit comments

Comments
 (0)