Skip to content

Commit

Permalink
Download job: allow redirect on direct download link
Browse files Browse the repository at this point in the history
Issue #2614
  • Loading branch information
ogoffart committed Dec 16, 2014
1 parent cbf00e9 commit b1d392e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libsync/propagatedownload.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ void GETFileJob::start() {
} else {
// Use direct URL
setReply(davRequest("GET", _directDownloadUrl, req));
_followRedirects = true; // (follow redirections for the direct download)
}
setupConnections(reply());

Expand Down

0 comments on commit b1d392e

Please sign in to comment.