diff options
author | zotlabs <mike@macgirvin.com> | 2018-07-19 13:42:57 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-07-19 13:42:57 -0700 |
commit | 6adbb93f0a4990a93c759b0fee580db6891527e2 (patch) | |
tree | 4c6957f51ae4482a4665ecbcc2ce9f7f77d5a4fe /boot.php | |
parent | 13d19d42cbdf9af34784ee991f7c0c11384ad504 (diff) | |
download | volse-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.
Diffstat (limited to 'boot.php')
-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')) |