From d8da79cab0838ff9ffb3929a7bf854d8d5dc0797 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 6 May 2014 16:58:39 +0200 Subject: add test for not failing when adding more comments after type parameters, do not limit x-www-form-urlencoded to POST --- lib/private/appframework/http/dispatcher.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'lib/private/appframework/http') 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; -- cgit v1.2.3