Commit 8276536
committed
[HttpClient] Block IPv6 transition forms in NoPrivateNetworkHttpClient
Extends PRIVATE_SUBNETS with IPv4-compatible (::/96), 6to4 (2002::/16),
Teredo (2001::/32) and NAT64 (64:ff9b::/96, 64:ff9b:1::/48) prefixes,
so that requests to e.g. http://[2002:7f00:1::]/ are blocked when they
embed a private IPv4 address.1 parent 77a770d commit 8276536
2 files changed
Lines changed: 10 additions & 0 deletions
File tree
- src/Symfony/Component/HttpClient
- Tests
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
| |||
0 commit comments