From 1ddac7dd4bfaaf5788648cb458f9afa37661fa98 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 6 Sep 2019 20:37:28 +0100 Subject: [PATCH] dgit: curl: pass CURLOPT_FOLLOWLOCATION This was accidentally dropped in the 9.6 http changes. Closes: #939564 Signed-off-by: Ian Jackson --- dgit | 1 + 1 file changed, 1 insertion(+) diff --git a/dgit b/dgit index 56b2ee95..cdccc605 100755 --- a/dgit +++ b/dgit @@ -1210,6 +1210,7 @@ sub url_fetch ($;@) { }; my $response_body = ''; + $setopt->(CURLOPT_FOLLOWLOCATION, 1); $setopt->(CURLOPT_REDIR_PROTOCOLS, CURLPROTO_HTTPS|CURLPROTO_HTTP); $setopt->(CURLOPT_URL, $url); $setopt->(CURLOPT_NOSIGNAL, 1); -- 2.30.2