mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Allow redirects for '/plugins install <URL>
Fix https://github.com/profanity-im/profanity/issues/1901 Suggested by @jubalh
This commit is contained in:
parent
9741f192a0
commit
30fe5f0fb9
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user