diff options
author | zotlabs <mike@macgirvin.com> | 2018-07-19 13:42:57 -0700 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-07-20 09:16:09 +0200 |
commit | 157a9e895ccdb6f6f4ff68e3bfff698a7ea7d369 (patch) | |
tree | a2cd786eaee5d09c2bc21b9f2e5c402e8799402b | |
parent | 36220fdde8b28e8c6efc451d1fa88568638d1071 (diff) | |
download | volse-hubzilla-157a9e895ccdb6f6f4ff68e3bfff698a7ea7d369.tar.gz volse-hubzilla-157a9e895ccdb6f6f4ff68e3bfff698a7ea7d369.tar.bz2 volse-hubzilla-157a9e895ccdb6f6f4ff68e3bfff698a7ea7d369.zip |
fix the filtered query string so it can potentially be re-used as is.
(cherry picked from commit 6adbb93f0a4990a93c759b0fee580db6891527e2)
-rwxr-xr-x | boot.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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')) |