diff options
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 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>'; |