diff --git a/3rdparty/Sabre/DAV/Client.php b/3rdparty/Sabre/DAV/Client.php index a8320dd978260c46a94944133f2ddae65ea815e2..23bd7c0539410c2863790775963354d8432768ad 100644 --- a/3rdparty/Sabre/DAV/Client.php +++ b/3rdparty/Sabre/DAV/Client.php @@ -249,6 +249,7 @@ class Sabre_DAV_Client { // Automatically follow redirects CURLOPT_FOLLOWLOCATION => true, CURLOPT_MAXREDIRS => 5, + //CURLOPT_SSL_VERIFYPEER => false, ); switch ($method) { diff --git a/apps/files_external/lib/webdav.php b/apps/files_external/lib/webdav.php index d0fe2aca8541537b81a32cfa52beecf1b9474639..dda8afe9f2ae499fdf73d37c504736b77804a430 100644 --- a/apps/files_external/lib/webdav.php +++ b/apps/files_external/lib/webdav.php @@ -96,6 +96,8 @@ class OC_FileStorage_DAV extends OC_Filestorage_Common{ $responseType=$response["{DAV:}resourcetype"]->resourceType; return (count($responseType)>0 and $responseType[0]=="{DAV:}collection")?'dir':'file'; }catch(Exception $e){ + error_log($e->getMessage()); + \OCP\Util::writeLog("webdav client", \OCP\Util::sanitizeHTML($e->getMessage()), \OCP\Util::ERROR); return false; } }