diff --git a/Library/Homebrew/utils/curl.rb b/Library/Homebrew/utils/curl.rb index 2241e1687f..9c35957e3d 100644 --- a/Library/Homebrew/utils/curl.rb +++ b/Library/Homebrew/utils/curl.rb @@ -33,6 +33,9 @@ module Utils # do not load .curlrc unless requested (must be the first argument) args << "--disable" unless Homebrew::EnvConfig.curlrc? + # echo any cookies received on a redirect + args << "--cookie-jar" << "/dev/null" + args << "--globoff" args << "--show-error"