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
path: root/misc
diff options
context:
space:
mode:
authorvipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-12-14 18:13:35 +0300
committervipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-12-14 18:13:35 +0300
commit7e8e00cda9a3132430d55c6b69f76b7a71167573 (patch)
tree4bb8bf1d175078a99b5ec13b68348fc0fbe66505 /misc
parent8cacfc62d0ddf9db60fe9f7c6aa338d00d66f648 (diff)
refs [1687], remove the URL entirely as it breaks the Plugins page
Diffstat (limited to 'misc')
-rw-r--r--misc/redirectToUrl.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/misc/redirectToUrl.php b/misc/redirectToUrl.php
index 89258eb4e8..5b4c9ba4c8 100644
--- a/misc/redirectToUrl.php
+++ b/misc/redirectToUrl.php
@@ -2,8 +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://(forum\.)?piwik.org(/|$)~', $url)
- && $url != 'http://phpsec.org/') { die; }
+if(!preg_match('~http://(dev\.|forum\.)?piwik.org(/|$)~', $url)) { die; }
?>
<html><head>
<meta http-equiv="refresh" content="0;url=<?php echo $url; ?>"/>