From 60369415f0b5ded741447719ea5ffc899c1eb1b6 Mon Sep 17 00:00:00 2001 From: Ali Rizvi-Santiago Date: Thu, 16 Jul 2020 01:33:09 -0500 Subject: [PATCH] Updated floppy/_download.cmd to use an empty user-agent string for the default options to curl. --- floppy/_download.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/floppy/_download.cmd b/floppy/_download.cmd index 230bd846..80dfdb7d 100644 --- a/floppy/_download.cmd +++ b/floppy/_download.cmd @@ -146,7 +146,7 @@ REM Every other method so far has failed entirely, so at this point there's REM nothing left to try but curl.exe which came for free with the build. We REM first need to locate it and make sure that it actually works. :check_curl -if not defined CURL_OPTS ( set "CURL_OPTS=-L" ) else if defined CURL_OPTS ( set "CURL_OPTS=%CURL_OPTS% -L" ) +if not defined CURL_OPTS ( set "CURL_OPTS=-A '' -L" ) else if defined CURL_OPTS ( set "CURL_OPTS=%CURL_OPTS% -A '' -L" ) if defined PACKER_DEBUG if not "%PACKER_DEBUG%" == "0" set "CURL_OPTS=%CURL_OPTS% --verbose" set curl=