diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-02-27 13:05:57 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-02-27 14:22:35 +0100 |
commit | 5c2fafa05faf532ab6e7ccde0ffadd8c984671fb (patch) | |
tree | 401efa60f8a0f558be1cb7ca0016b2a2b316e4f6 /lib/private/ocs.php | |
parent | 8abb80c64277524fadcbea875e2d559c339ef0b1 (diff) | |
download | nextcloud-server-5c2fafa05faf532ab6e7ccde0ffadd8c984671fb.tar.gz nextcloud-server-5c2fafa05faf532ab6e7ccde0ffadd8c984671fb.zip |
Read from IRequest instead of reading twice
Potentially fixes https://github.com/owncloud/core/issues/14541 and https://github.com/owncloud/core/issues/14506
Diffstat (limited to 'lib/private/ocs.php')
-rw-r--r-- | lib/private/ocs.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private/ocs.php b/lib/private/ocs.php index bbe642a247d..d43811e339b 100644 --- a/lib/private/ocs.php +++ b/lib/private/ocs.php @@ -76,7 +76,6 @@ class OC_OCS { $method='get'; }elseif($_SERVER['REQUEST_METHOD'] == 'PUT') { $method='put'; - parse_str(file_get_contents("php://input"), $put_vars); }elseif($_SERVER['REQUEST_METHOD'] == 'POST') { $method='post'; }else{ |