diff options
author | friendica <info@friendica.com> | 2014-02-16 14:13:26 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-16 14:13:26 -0800 |
commit | ebd52368bb134e57a54d853732b5b4970a8ce02b (patch) | |
tree | 3b950917be780242a2e5ae64c9b26f42e170a637 /index.php | |
parent | d9e4f634665ec4da69b5af230f45f2a0e9688a1b (diff) | |
download | volse-hubzilla-ebd52368bb134e57a54d853732b5b4970a8ce02b.tar.gz volse-hubzilla-ebd52368bb134e57a54d853732b5b4970a8ce02b.tar.bz2 volse-hubzilla-ebd52368bb134e57a54d853732b5b4970a8ce02b.zip |
strip hard-wired zids from posted links as they will have the wrong identity when somebody tries to view the link
Diffstat (limited to 'index.php')
-rwxr-xr-x | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -92,7 +92,7 @@ if((x($_SESSION,'language')) && ($_SESSION['language'] !== $lang)) { } if((x($_GET,'zid')) && (! $a->install)) { - $a->query_string = preg_replace('/[\?&]zid=(.*?)([\?&]|$)/is','',$a->query_string); + $a->query_string = strip_zids($a->query_string); if(! local_user()) { $_SESSION['my_address'] = $_GET['zid']; zid_init($a); |