[Commits] [SCM] claws branch, master, updated. 3.17.3-136-gcd9afd9

wwp at claws-mail.org wwp at claws-mail.org
Mon Mar 11 12:20:59 CET 2019


The branch, master has been updated
       via  cd9afd9b09881c116c7b932c2bd4643c96d0729f (commit)
      from  65794cd5cf90eb271d3c2db9838bd7833bb567e7 (commit)

Summary of changes:
 src/plugins/fancy/fancy_viewer.c |    1 +
 1 file changed, 1 insertion(+)


- Log -----------------------------------------------------------------
commit cd9afd9b09881c116c7b932c2bd4643c96d0729f
Author: wwp <subscript at free.fr>
Date:   Mon Mar 11 11:33:10 2019 +0100

    Make Fancy plugin's download-link feature following redirections.

diff --git a/src/plugins/fancy/fancy_viewer.c b/src/plugins/fancy/fancy_viewer.c
index c2b50c1..c84eeae 100644
--- a/src/plugins/fancy/fancy_viewer.c
+++ b/src/plugins/fancy/fancy_viewer.c
@@ -665,6 +665,7 @@ static void *download_file_curl (void *data)
 		curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, download_file_curl_write_cb);
 		curl_easy_setopt(curl, CURLOPT_WRITEDATA, viewer);
 		curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
+		curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
 		res = curl_easy_perform(curl);
 		curl_easy_cleanup(curl);
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list