diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2018-01-10 21:45:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-10 21:45:20 +0300 |
commit | 82a9b1b0a01dc20928d50134233e167f0116472d (patch) | |
tree | a85fb5ecde6e9b9bacdd20f4310919daf674ab59 /plugins/Proxy | |
parent | 92cb21b63c7b971579a9f0e3da57cc7d425a3c4f (diff) |
Further Piwik.org => Matomo.org replacements (#12415)
* renaming more Piwik mentions
* some more updates
* fix some tests
* support matomo partially as require string
* fix tests
* fix failing system test
* fix tests
* fix system test
* fix test
Diffstat (limited to 'plugins/Proxy')
-rw-r--r-- | plugins/Proxy/Controller.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/Proxy/Controller.php b/plugins/Proxy/Controller.php index 550078e2d7..03d48ba267 100644 --- a/plugins/Proxy/Controller.php +++ b/plugins/Proxy/Controller.php @@ -119,6 +119,10 @@ class Controller extends \Piwik\Plugin\Controller return true; } + if (preg_match('~^http://(qa\.|demo\.|dev\.|forum\.)?matomo.org([#?/]|$)~', $url)) { + return true; + } + // Allow clockworksms domain if (strpos($url, 'http://www.clockworksms.com/') === 0) { return true; |