aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-02 00:45:45 -0700
committerfriendica <info@friendica.com>2012-04-02 00:45:45 -0700
commit62e528ba43bedbd33eb81447775bd743f0c1acf8 (patch)
tree46f3d7f1f6584aa472cda749e2d42c2b2d9a1065 /index.php
parent1f74bd1b78f7db4940f0fded0d6f7716579218f0 (diff)
downloadvolse-hubzilla-62e528ba43bedbd33eb81447775bd743f0c1acf8.tar.gz
volse-hubzilla-62e528ba43bedbd33eb81447775bd743f0c1acf8.tar.bz2
volse-hubzilla-62e528ba43bedbd33eb81447775bd743f0c1acf8.zip
remove zrl from query string
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.php b/index.php
index a51e33e26..e7227962f 100755
--- a/index.php
+++ b/index.php
@@ -95,6 +95,7 @@ if((x($_SESSION,'language')) && ($_SESSION['language'] !== $lang)) {
if(x($_GET,'zrl')) {
$_SESSION['my_url'] = $_GET['zrl'];
+ $a->query_string = preg_replace('/[\?&]zrl=(.*?)([\?&]|$)/is','',$a->query_string);
}
/**