diff options
-rw-r--r-- | libappstream-glib/as-app-validate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libappstream-glib/as-app-validate.c b/libappstream-glib/as-app-validate.c index a11c361..73382de 100644 --- a/libappstream-glib/as-app-validate.c +++ b/libappstream-glib/as-app-validate.c @@ -465,6 +465,7 @@ ai_app_validate_image_check (AsImage *im, AsAppValidateHelper *helper) url = as_image_get_url (im); g_debug ("checking %s", url); (void)curl_easy_setopt(helper->curl, CURLOPT_URL, url); + (void)curl_easy_setopt(helper->curl, CURLOPT_FOLLOWLOCATION, 1); (void)curl_easy_setopt(helper->curl, CURLOPT_ERRORBUFFER, errbuf); (void)curl_easy_setopt(helper->curl, CURLOPT_WRITEFUNCTION, |