From a3bfad1c4df12bef0017ecf09149862f5ce2adb9 Mon Sep 17 00:00:00 2001 From: Moshe Weitzman Date: Thu, 17 Oct 2024 21:52:08 -0400 Subject: [PATCH] wget should allow more basic auth request configurations (#6139) --- includes/drush.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/drush.inc b/includes/drush.inc index 7c43e77414..5484b65e0e 100644 --- a/includes/drush.inc +++ b/includes/drush.inc @@ -844,7 +844,7 @@ function _drush_download_file($url, $destination, $overwrite = TRUE) { $destination_tmp = drush_tempnam('download_file'); if ($use_wget) { - drush_shell_exec("wget -q --timeout=30 -O %s %s", $destination_tmp, $url); + drush_shell_exec("wget --auth-no-challenge -q --timeout=30 -O %s %s", $destination_tmp, $url); } else { // Force TLS1+ as per https://github.com/drush-ops/drush/issues/894.