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:
authormattpiwik <matthieu.aubry@gmail.com>2011-09-29 09:19:59 +0400
committermattpiwik <matthieu.aubry@gmail.com>2011-09-29 09:19:59 +0400
commit87f8b46c4b835e6b70798b1d350c504971016cc5 (patch)
treeb59cf2c507a2a79f9f47cb804f17054cd899b614 /plugins/Proxy
parent2cb36fdad81218a39b6e87775c1c354a64713e25 (diff)
Track page views with invalid urls with empty urls
git-svn-id: http://dev.piwik.org/svn/trunk@5259 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/Proxy')
-rw-r--r--plugins/Proxy/Controller.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/Proxy/Controller.php b/plugins/Proxy/Controller.php
index 3db935bf8a..b1af775d80 100644
--- a/plugins/Proxy/Controller.php
+++ b/plugins/Proxy/Controller.php
@@ -154,6 +154,12 @@ class Piwik_Proxy_Controller extends Piwik_Controller
*/
static public function isPiwikUrl($url)
{
+ // guard for IE6 meta refresh parsing weakness (OSVDB 19029)
+ if(strpos($url, ';') !== false
+ || strpos($url, '&#59') !== false)
+ {
+ return false;
+ }
if(preg_match('~^http://(qa\.|demo\.|dev\.|forum\.)?piwik.org([#?/]|$)~', $url))
{
return true;