The Mozilla hosted files have started to redirect. Follow them to restore
script functionality.
Reported-by: Harry Sintonen
Closes #16995
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";