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 8e2e9be

Browse filesBrowse files
derflockinicolas-grekas
authored andcommitted
[HttpFoundation] Add RFC6598 Shared Address Space to IpUtils::PRIVATE_SUBNETS
1 parent 513309c commit 8e2e9be
Copy full SHA for 8e2e9be

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.