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:
Diffstat (limited to 'plugins/Proxy')
-rw-r--r--plugins/Proxy/Controller.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/Proxy/Controller.php b/plugins/Proxy/Controller.php
index 2af91cfa5c..d4cab5d6e3 100644
--- a/plugins/Proxy/Controller.php
+++ b/plugins/Proxy/Controller.php
@@ -139,6 +139,10 @@ class Piwik_Proxy_Controller extends Piwik_Controller
{
Piwik::checkUserHasSomeViewAccess();
}
+ if(!Piwik_Common::isLookLikeUrl($url))
+ {
+ die('Please check the &url= parameter: it should to be a valid URL');
+ }
echo '<html><head><meta http-equiv="refresh" content="0;url=' . $url . '" /></head></html>';