mirror of
https://github.com/curl/curl.git
synced 2026-05-30 17:57:28 +03:00
mk-ca-bundle.pl: follow redirects
The Mozilla hosted files have started to redirect. Follow them to restore script functionality. Reported-by: Harry Sintonen Closes #16995
This commit is contained in:
parent
461ebbd336
commit
eeed87f056
1 changed files with 1 additions and 1 deletions
|
|
@ -318,7 +318,7 @@ if(!$opt_n) {
|
|||
report "Get certdata with curl!";
|
||||
my $proto = !$opt_k ? "--proto =https" : "";
|
||||
my $quiet = $opt_q ? "-s" : "";
|
||||
my @out = `curl -w %{response_code} $proto $quiet -o "$txt" "$url"`;
|
||||
my @out = `curl -Lw %{response_code} $proto $quiet -o "$txt" "$url"`;
|
||||
if(!$? && @out && $out[0] == 200) {
|
||||
$fetched = 1;
|
||||
report "Downloaded $txt";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue