Commit 3211d8b
committed
fix(mcp): disable dns rebinding protection
disable dns rebinding protection in transport settings and simplify host/origin config.
remove unused os import and update comment to note that jwt auth middleware provides the primary security gate.
this reduces brittle host/origin allowlists and avoids relying on dns rebinding checks while keeping jwt-based authentication as the protection mechanism.1 parent b360e63 commit 3211d8b
1 file changed
Lines changed: 3 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 9 | + | |
| 10 | + | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 18 | + | |
31 | 19 | | |
32 | 20 | | |
33 | 21 | | |
| |||
0 commit comments