diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-04-07 15:12:10 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-06-01 17:06:05 +0200 |
commit | 7071cf15c25be4a0e4178019c625c57b898e4216 (patch) | |
tree | 1ec4789d3dfc51c6cc31e2f5dbe4889b8d80f958 | |
parent | 97dbd04e0a623dfa79b546b2c40851b3d70e45a9 (diff) | |
download | nextcloud-server-7071cf15c25be4a0e4178019c625c57b898e4216.tar.gz nextcloud-server-7071cf15c25be4a0e4178019c625c57b898e4216.zip |
Revert custom patch that can cause problems
-rw-r--r-- | apps/files_external/3rdparty/Dropbox/OAuth/Curl.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/files_external/3rdparty/Dropbox/OAuth/Curl.php b/apps/files_external/3rdparty/Dropbox/OAuth/Curl.php index b75b27bb363..cfa33ed0e1a 100644 --- a/apps/files_external/3rdparty/Dropbox/OAuth/Curl.php +++ b/apps/files_external/3rdparty/Dropbox/OAuth/Curl.php @@ -72,8 +72,14 @@ class Dropbox_OAuth_Curl extends Dropbox_OAuth { if (strtoupper($method) == 'POST') { curl_setopt($ch, CURLOPT_URL, $uri); curl_setopt($ch, CURLOPT_POST, true); -// if (is_array($arguments)) -// $arguments=http_build_query($arguments); + + //if (is_array($arguments)) + // $arguments=http_build_query($arguments); + foreach ($arguments as $key => $value) { + if($value[0] === '@') { + exit(); + } + } curl_setopt($ch, CURLOPT_POSTFIELDS, $arguments); // $httpHeaders['Content-Length']=strlen($arguments); } else { |