(fix) we now follow 301 redirects when fetching ICS calendars

This commit is contained in:
Ludovic Marcotte committed 2016-01-08 12:02:33 -05:00
1 parent 210d6908b8
commit 490043b2e1
2 files changed
+2

No files matched your search

@@ -138,6 +138,7 @@ size_t curl_body_function(void *ptr, size_t size, size_t nmemb, void *buffer)
curl_easy_setopt (curl, CURLOPT_SSL_VERIFYPEER, 0L);
curl_easy_setopt (curl, CURLOPT_SSL_VERIFYHOST, 0L);
curl_easy_setopt (curl, CURLOPT_TIMEOUT, 60L);
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
authInfos = [self _loadAuthData];
if (authInfos)