Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Giehl <stefan@matomo.org>2021-06-17 01:15:32 +0300
committerGitHub <noreply@github.com>2021-06-17 01:15:32 +0300
commit5e4ac63e78e9f2dfab42e632e40c6b339f39a015 (patch)
tree511279904c13843c01d6f0788be8cdff5a4ec04c /core/Url.php
parentefaa709dcf0b73073b67e622ea7589799cd0770c (diff)
Improves detection of local hostnames (#17681)
Diffstat (limited to 'core/Url.php')
-rw-r--r--core/Url.php2
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]');
}
/**