diff options
author | friendica <info@friendica.com> | 2012-02-22 22:36:07 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-02-22 22:36:07 -0800 |
commit | 808b886a3e18b07c63171c4833334e2cf77ddf71 (patch) | |
tree | ca88e82039b5b5c0ceafec9a6fffc369e3c852eb /boot.php | |
parent | 9fe12d1724acf819f2cbc88bf6647e0adee0b5ea (diff) | |
parent | 3c6b127d40e2f0ea1c2d8eb7114c3e121b58ba2e (diff) | |
download | volse-hubzilla-808b886a3e18b07c63171c4833334e2cf77ddf71.tar.gz volse-hubzilla-808b886a3e18b07c63171c4833334e2cf77ddf71.tar.bz2 volse-hubzilla-808b886a3e18b07c63171c4833334e2cf77ddf71.zip |
Merge branch 'master' into notify
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -9,7 +9,7 @@ require_once('include/nav.php'); require_once('include/cache.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica'); -define ( 'FRIENDICA_VERSION', '2.3.1259' ); +define ( 'FRIENDICA_VERSION', '2.3.1260' ); define ( 'DFRN_PROTOCOL_VERSION', '2.22' ); define ( 'DB_UPDATE_VERSION', 1123 ); @@ -309,8 +309,12 @@ class App { . 'library/phpsec' . PATH_SEPARATOR . '.' ); - if((x($_SERVER,'QUERY_STRING')) && substr($_SERVER['QUERY_STRING'],0,2) === "q=") + if((x($_SERVER,'QUERY_STRING')) && substr($_SERVER['QUERY_STRING'],0,2) === "q=") { $this->query_string = substr($_SERVER['QUERY_STRING'],2); + // removing trailing / - maybe a nginx problem + if (substr($this->query_string, 0, 1) == "/") + $this->query_string = substr($this->query_string, 1); + } if(x($_GET,'q')) $this->cmd = trim($_GET['q'],'/\\'); |