[Pkg-owncloud-commits] [owncloud] 01/06: Revert custom patch that can cause problems
David Prévot
taffit at moszumanska.debian.org
Tue Jun 2 01:40:56 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v6.0.8RC2
in repository owncloud.
commit bf0f1a50926a75a26a42a3da4d62e84a489ee77a
Author: Lukas Reschke <lukas at owncloud.com>
Date: Tue Apr 7 15:12:10 2015 +0200
Revert custom patch that can cause problems
---
apps/files_external/3rdparty/Dropbox/OAuth/Curl.php | 10 ++++++++--
1 file 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 b75b27b..cfa33ed 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 {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list