diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-06 16:58:39 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-11 17:54:08 +0200 |
commit | d8da79cab0838ff9ffb3929a7bf854d8d5dc0797 (patch) | |
tree | 470c064510dec840659da10bfef2a7edea4367c8 /lib/private/appframework/http | |
parent | 4dca2038bf3dbc8f17f08e9479de886483ba1e4b (diff) | |
download | nextcloud-server-d8da79cab0838ff9ffb3929a7bf854d8d5dc0797.tar.gz nextcloud-server-d8da79cab0838ff9ffb3929a7bf854d8d5dc0797.zip |
add test for not failing when adding more comments after type parameters, do not limit x-www-form-urlencoded to POST
Diffstat (limited to 'lib/private/appframework/http')
-rw-r--r-- | lib/private/appframework/http/dispatcher.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/private/appframework/http/dispatcher.php b/lib/private/appframework/http/dispatcher.php index 532e49540b1..9015d650250 100644 --- a/lib/private/appframework/http/dispatcher.php +++ b/lib/private/appframework/http/dispatcher.php @@ -137,11 +137,8 @@ class Dispatcher { $value === 'false' && ( $this->request->method === 'GET' || - ( - $this->request->method === 'POST' && - strpos($this->request->getHeader('Content-Type'), - 'application/x-www-form-urlencoded') !== false - ) + strpos($this->request->getHeader('Content-Type'), + 'application/x-www-form-urlencoded') !== false) ) ) { $value = false; |