aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-07-19 13:42:57 -0700
committerzotlabs <mike@macgirvin.com>2018-07-19 13:42:57 -0700
commit6adbb93f0a4990a93c759b0fee580db6891527e2 (patch)
tree4c6957f51ae4482a4665ecbcc2ce9f7f77d5a4fe
parent13d19d42cbdf9af34784ee991f7c0c11384ad504 (diff)
downloadvolse-hubzilla-6adbb93f0a4990a93c759b0fee580db6891527e2.tar.gz
volse-hubzilla-6adbb93f0a4990a93c759b0fee580db6891527e2.tar.bz2
volse-hubzilla-6adbb93f0a4990a93c759b0fee580db6891527e2.zip
fix the filtered query string so it can potentially be re-used as is.
-rwxr-xr-xboot.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 3d2b95ef8..8e4877b8e 100755
--- a/boot.php
+++ b/boot.php
@@ -878,6 +878,8 @@ class App {
// removing trailing / - maybe a nginx problem
if (substr(self::$query_string, 0, 1) == "/")
self::$query_string = substr(self::$query_string, 1);
+ // change the first & to ?
+ self::$query_string = preg_replace('/&/','?',self::$query_string,1);
}
if(x($_GET,'q'))