nextcloud/lib/private/AppFramework
Roeland Jago Douma 2a9192334e
Don't try to parse empty body if there is no body
Fixes #3890

If we do a put request without a body the current code still tries to
read the body. This patch makes sure that we do not try to read the body
if the content length is 0.

See RFC 2616 Section 4.3

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-04-04 08:22:33 +02:00
..
Core Cleanup usages 2016-10-29 14:29:50 +02:00
DependencyInjection Don't do a recursive search 2017-03-22 10:44:13 +01:00
Http Don't try to parse empty body if there is no body 2017-04-04 08:22:33 +02:00
Middleware handle optional annotation parameters 2017-01-18 15:25:16 +01:00
OCS Add trict CSP to OCS responses 2016-09-15 13:11:36 +02:00
Routing Cache the build ControllerName 2016-09-11 13:25:32 +02:00
Utility handle optional annotation parameters 2017-01-18 15:25:16 +01:00
App.php Also cache the namespace from appinfo 2017-03-22 11:50:31 +01:00
Http.php Fix others 2016-07-21 18:13:57 +02:00