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
path: root/tests
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-12-19 01:14:18 +0300
committermattab <matthieu.aubry@gmail.com>2014-12-19 01:14:29 +0300
commitf79acd11a75f490080bc589edfad3eb6a9a8c68b (patch)
tree3adf4d08b16f91c1603f4c69521b5bb2883afd17 /tests
parent8645bb8983981186bb4966c6db1ea42348d5bc09 (diff)
Fixes #6503 Add missing google bots IP ranges to exclude as they are robot requests
Diffstat (limited to 'tests')
-rw-r--r--tests/PHPUnit/Integration/Tracker/VisitTest.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/PHPUnit/Integration/Tracker/VisitTest.php b/tests/PHPUnit/Integration/Tracker/VisitTest.php
index ef5668e737..41fcccb76e 100644
--- a/tests/PHPUnit/Integration/Tracker/VisitTest.php
+++ b/tests/PHPUnit/Integration/Tracker/VisitTest.php
@@ -191,6 +191,10 @@ class VisitTest extends IntegrationTestCase
'66.249.85.36' => true,
'66.249.91.150' => true,
'64.233.172.1' => true,
+ '64.233.172.200' => true,
+ '66.249.88.216' => true,
+ '66.249.83.204' => true,
+ '64.233.172.6' => true,
// ddos bot
'1.202.218.8' => true,
@@ -198,6 +202,9 @@ class VisitTest extends IntegrationTestCase
// Not bots
'66.248.91.150' => false,
'66.250.91.150' => false,
+ // almost google range but not google
+ '66.249.2.1' => false,
+ '66.249.60.1' => false,
);
$idsite = API::getInstance()->addSite("name", "http://piwik.net/");