diff options
author | Stefan Giehl <stefan@matomo.org> | 2021-06-17 01:15:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-17 01:15:32 +0300 |
commit | 5e4ac63e78e9f2dfab42e632e40c6b339f39a015 (patch) | |
tree | 511279904c13843c01d6f0788be8cdff5a4ec04c /core/Url.php | |
parent | efaa709dcf0b73073b67e622ea7589799cd0770c (diff) |
Improves detection of local hostnames (#17681)
Diffstat (limited to 'core/Url.php')
-rw-r--r-- | core/Url.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Url.php b/core/Url.php index 03c8c5c15c..089ded1c45 100644 --- a/core/Url.php +++ b/core/Url.php @@ -723,7 +723,7 @@ class Url */ public static function getLocalHostnames() { - return array('localhost', '127.0.0.1', '::1', '[::1]'); + return array('localhost', '127.0.0.1', '::1', '[::1]', '[::]', '0000::1', '0177.0.0.1', '2130706433', '[0:0:0:0:0:ffff:127.0.0.1]'); } /** |