diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2016-08-20 18:21:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-20 18:21:31 +0200 |
commit | 8fbec6aae3d738fe08b73fd95bd1180f96e3120a (patch) | |
tree | 750b9f30d1775147a915f70b5548699277f14799 /lib/private/AppFramework/Http | |
parent | 8007ea60fbfa5de663753813a03041ca4c53384f (diff) | |
parent | d50e7ee36c5607da848702ca36f7b34505c1622e (diff) | |
download | nextcloud-server-8fbec6aae3d738fe08b73fd95bd1180f96e3120a.tar.gz nextcloud-server-8fbec6aae3d738fe08b73fd95bd1180f96e3120a.zip |
Merge pull request #984 from nextcloud/dont-read-server-variable
Remove reading PATH_INFO from server variable
Diffstat (limited to 'lib/private/AppFramework/Http')
-rw-r--r-- | lib/private/AppFramework/Http/Request.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/private/AppFramework/Http/Request.php b/lib/private/AppFramework/Http/Request.php index 2139ad05c2e..46122f880cc 100644 --- a/lib/private/AppFramework/Http/Request.php +++ b/lib/private/AppFramework/Http/Request.php @@ -700,10 +700,6 @@ class Request implements \ArrayAccess, \Countable, IRequest { * @return string|false Path info or false when not found */ public function getPathInfo() { - if(isset($this->server['PATH_INFO'])) { - return $this->server['PATH_INFO']; - } - $pathInfo = $this->getRawPathInfo(); // following is taken from \Sabre\HTTP\URLUtil::decodePathSegment $pathInfo = rawurldecode($pathInfo); |