Skip to content

Commit

Permalink
Merge pull request #11790 from FnControlOption/curl
Browse files Browse the repository at this point in the history
curl: echo any cookies received on a redirect
  • Loading branch information
MikeMcQuaid committed Sep 1, 2021
2 parents 008296f + 7d0a367 commit 8352f1a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Library/Homebrew/utils/curl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ def curl_args(*extra_args, **options)
# 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"
Expand Down

0 comments on commit 8352f1a

Please sign in to comment.