Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3d7304b

Browse filesBrowse files
bug #64468 [HttpFoundation] Add RFC6598 Shared Address Space to IpUtils::PRIVATE_SUBNETS (derflocki)
This PR was submitted for the 8.2 branch but it was merged into the 6.4 branch instead. Discussion ---------- [HttpFoundation] Add RFC6598 Shared Address Space to IpUtils::PRIVATE_SUBNETS | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix #64421 | License | MIT Add the `100.64.0.0/10` defined in [RFC 6598](https://datatracker.ietf.org/doc/html/rfc6598) to `IpUtils::PRIVATE_SUBNETS` Commits ------- 8e2e9be [HttpFoundation] Add RFC6598 Shared Address Space to IpUtils::PRIVATE_SUBNETS
2 parents 513309c + 8e2e9be commit 3d7304b
Copy full SHA for 3d7304b

2 files changed

+2Lines changed: 2 additions & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/Symfony/Component/HttpFoundation/IpUtils.php‎

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/IpUtils.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class IpUtils
2626
'169.254.0.0/16', // RFC3927
2727
'0.0.0.0/8', // RFC5735
2828
'240.0.0.0/4', // RFC1112
29+
'100.64.0.0/10', // RFC6598
2930
'::1/128', // Loopback
3031
'fc00::/7', // Unique Local Address
3132
'fe80::/10', // Link Local Address
Collapse file

‎src/Symfony/Component/HttpFoundation/Tests/IpUtilsTest.php‎

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/Tests/IpUtilsTest.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ public static function getIsPrivateIpData(): array
187187
['169.254.0.1', true],
188188
['0.0.0.1', true],
189189
['240.0.0.1', true],
190+
['100.64.0.1', true],
190191
['::1', true],
191192
['fc00::1', true],
192193
['fe80::1', true],

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.