Merge pull request #11790 from FnControlOption/curl

curl: echo any cookies received on a redirect
This commit is contained in:
Mike McQuaid 2021-09-01 14:53:49 +01:00 committed by GitHub
commit 8352f1a861
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,9 @@ module Utils
# do not load .curlrc unless requested (must be the first argument) # do not load .curlrc unless requested (must be the first argument)
args << "--disable" unless Homebrew::EnvConfig.curlrc? args << "--disable" unless Homebrew::EnvConfig.curlrc?
# echo any cookies received on a redirect
args << "--cookie-jar" << "/dev/null"
args << "--globoff" args << "--globoff"
args << "--show-error" args << "--show-error"