Allow only HTTP requests during X509 chain building
authorKrzysztof Wicher <mordotymoja@gmail.com>
Fri, 12 Feb 2021 16:55:01 +0000 (17:55 +0100)
committerGitHub <noreply@github.com>
Fri, 12 Feb 2021 16:55:01 +0000 (08:55 -0800)
commitf61c883ae91a44da037bbcc06c4ee833b1214170
treeb8299e5cac1af802fd74cf9ae50ea4b01ac755a5
parent1e5ec5cea101669fcd3ad58ed32df97843f4c72c
Allow only HTTP requests during X509 chain building

Specifically, do not follow an HTTP->HTTPS redirect.  Primary HTTPS URLs were already ignored.
src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Unix/CertificateAssetDownloader.cs