diff options
Diffstat (limited to 'misc/redirectToUrl.php')
-rw-r--r-- | misc/redirectToUrl.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/redirectToUrl.php b/misc/redirectToUrl.php index c5597aa4c4..4df113fcec 100644 --- a/misc/redirectToUrl.php +++ b/misc/redirectToUrl.php @@ -2,7 +2,10 @@ // 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://(forum\.)?piwik.org(/|$)~', $url)) { die; } +if(!preg_match('~http://(dev\.|forum\.)?piwik.org(/|$)~', $url) +&& !in_array($url, array( + 'http://blogvertising.pl/', +))) { die; } ?> <html><head> <meta http-equiv="refresh" content="0;url=<?php echo $url; ?>"/> |