1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Allow redirects for '/plugins install <URL>

Fix https://github.com/profanity-im/profanity/issues/1901
Suggested by @jubalh
This commit is contained in:
John Hernandez 2023-11-10 19:54:50 +01:00
parent 9741f192a0
commit 30fe5f0fb9

View File

@ -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);
}