From 79f9e9dc970934fb00942cfc695bf2a40494108c Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Wed, 28 Oct 2020 23:18:05 +0000
Subject: [PATCH] Issue #3179318 by dww: Always use HTTPS for fetching
 translations

---
 core/includes/install.core.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc
index d9b22ee045b0..1d65db263df5 100644
--- a/core/includes/install.core.inc
+++ b/core/includes/install.core.inc
@@ -249,7 +249,7 @@ function install_state_defaults() {
     // The server URL where the interface translation files can be downloaded.
     // Tokens in the pattern will be replaced by appropriate values for the
     // required translation file.
-    'server_pattern' => 'http://ftp.drupal.org/files/translations/%core/%project/%project-%version.%language.po',
+    'server_pattern' => 'https://ftp.drupal.org/files/translations/%core/%project/%project-%version.%language.po',
     // Installation tasks can set this to TRUE to force the page request to
     // end (even if there is no themeable output), in the case of an interactive
     // installation. This is needed only rarely; for example, it would be used
-- 
GitLab