aboutsummaryrefslogtreecommitdiffstats
path: root/mod/redir.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-02 21:09:55 -0800
committerFriendika <info@friendika.com>2010-12-02 21:09:55 -0800
commit4d84a87ce4b93061d46958f70ac9c833caa800cd (patch)
tree4aa132bb437faf9bb83b724cb383cc63c7790f36 /mod/redir.php
parent041933db8794244aa894c0412aab421b6412837a (diff)
downloadvolse-hubzilla-4d84a87ce4b93061d46958f70ac9c833caa800cd.tar.gz
volse-hubzilla-4d84a87ce4b93061d46958f70ac9c833caa800cd.tar.bz2
volse-hubzilla-4d84a87ce4b93061d46958f70ac9c833caa800cd.zip
cache result of (expensive) security check for visitor rights
begin tightening x-profile security
Diffstat (limited to 'mod/redir.php')
-rw-r--r--mod/redir.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/redir.php b/mod/redir.php
index 5427d8c78..f95c52c96 100644
--- a/mod/redir.php
+++ b/mod/redir.php
@@ -27,6 +27,6 @@ function redir_init(&$a) {
dbesc($dfrn_id),
intval(time() + 45));
goaway ($r[0]['poll'] . '?dfrn_id=' . $dfrn_id
- . '&dfrn_version=' . DFRN_PROTOCOL_VERSION . '&type=profile');
+ . '&dfrn_version=' . DFRN_PROTOCOL_VERSION . '&type=profile&sec=1');
}