Skip to content

Commit

Permalink
wget should allow more basic auth request configurations (#6139)
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman authored Oct 18, 2024
1 parent f4cabef commit a3bfad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a3bfad1

Please sign in to comment.