diff options
author | Morris Jobke <morris.jobke@gmail.com> | 2013-08-14 17:11:30 -0700 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2013-08-14 17:11:30 -0700 |
commit | de89c31f5a63f399151093aa8e29715e7be24e82 (patch) | |
tree | 4d6e48beb1b95a03cdedf3447917c2e4f97ea4b4 | |
parent | 75e9015b5445e957f2454373bed67dac1741b5cb (diff) | |
parent | 72ad843203f4bb2d0f88c9b85b424198d7fd28a8 (diff) | |
download | nextcloud-server-de89c31f5a63f399151093aa8e29715e7be24e82.tar.gz nextcloud-server-de89c31f5a63f399151093aa8e29715e7be24e82.zip |
Merge pull request #4302 from synchrone/master
Fixing owncloud/core#4301
-rw-r--r-- | apps/files_external/lib/webdav.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_external/lib/webdav.php b/apps/files_external/lib/webdav.php index 4869322d87a..f98be318f1c 100644 --- a/apps/files_external/lib/webdav.php +++ b/apps/files_external/lib/webdav.php @@ -173,6 +173,7 @@ class DAV extends \OC\Files\Storage\Common{ curl_setopt($curl, CURLOPT_USERPWD, $this->user.':'.$this->password); curl_setopt($curl, CURLOPT_URL, $this->createBaseUri().$path); curl_setopt($curl, CURLOPT_FILE, $fp); + curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); curl_exec ($curl); curl_close ($curl); |