Merge pull request #4302 from synchrone/master

Fixing owncloud/core#4301
This commit is contained in:
Morris Jobke 2013-08-14 17:11:30 -07:00
commit de89c31f5a
1 changed files with 1 additions and 0 deletions

View File

@ -173,6 +173,7 @@ class DAV extends \OC\Files\Storage\Common{
curl_setopt($curl, CURLOPT_USERPWD, $this->user.':'.$this->password); curl_setopt($curl, CURLOPT_USERPWD, $this->user.':'.$this->password);
curl_setopt($curl, CURLOPT_URL, $this->createBaseUri().$path); curl_setopt($curl, CURLOPT_URL, $this->createBaseUri().$path);
curl_setopt($curl, CURLOPT_FILE, $fp); curl_setopt($curl, CURLOPT_FILE, $fp);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
curl_exec ($curl); curl_exec ($curl);
curl_close ($curl); curl_close ($curl);