diff options
Diffstat (limited to 'misc/redirectToUrl.php')
-rw-r--r-- | misc/redirectToUrl.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/misc/redirectToUrl.php b/misc/redirectToUrl.php index 4df113fcec..c5597aa4c4 100644 --- a/misc/redirectToUrl.php +++ b/misc/redirectToUrl.php @@ -2,10 +2,7 @@ // we redirect to the website instead of linking directly because we don't want // to expose the referer on the piwik demo $url = htmlentities($_GET['url']); -if(!preg_match('~http://(dev\.|forum\.)?piwik.org(/|$)~', $url) -&& !in_array($url, array( - 'http://blogvertising.pl/', -))) { die; } +if(!preg_match('~http://(forum\.)?piwik.org(/|$)~', $url)) { die; } ?> <html><head> <meta http-equiv="refresh" content="0;url=<?php echo $url; ?>"/> |