Skip to content

Commit

Permalink
Allow redirects for '/plugins install <URL>
Browse files Browse the repository at this point in the history
Fix #1901
Suggested by @jubalh
  • Loading branch information
H3rnand3zzz committed Nov 10, 2023
1 parent 9741f19 commit 30fe5f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tools/http_download.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ http_file_get(void* userdata)

curl_easy_setopt(curl, CURLOPT_USERAGENT, "profanity");

curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);

if (cafile) {
curl_easy_setopt(curl, CURLOPT_CAINFO, cafile);
}
Expand Down

0 comments on commit 30fe5f0

Please sign in to comment.