From 1a684f8279b91f8ac17863cf717215e31b156e9d Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Thu, 13 Nov 2014 18:13:39 +0000 Subject: [PATCH] Download Cargo over HTTPS. Fix #3582. --- python/servo/bootstrap_commands.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/servo/bootstrap_commands.py b/python/servo/bootstrap_commands.py index 1a1d95adde0..11509e5ede5 100644 --- a/python/servo/bootstrap_commands.py +++ b/python/servo/bootstrap_commands.py @@ -119,8 +119,7 @@ class MachCommands(CommandBase): os.makedirs(cargo_dir) tgz_file = "cargo-nightly-%s.tar.gz" % host_triple() - # FIXME(#3582): use https. - nightly_url = "http://static.rust-lang.org/cargo-dist/%s/%s" % \ + nightly_url = "https://static-rust-lang-org.s3.amazonaws.com/cargo-dist/%s/%s" % \ (self.cargo_build_id(), tgz_file) download("Cargo nightly", nightly_url, tgz_file)