]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ap/http-redirect-wwwauth-fix' into seen
authorJunio C Hamano <gitster@pobox.com>
Thu, 4 Jun 2026 00:04:52 +0000 (09:04 +0900)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Jun 2026 00:04:52 +0000 (09:04 +0900)
When cURL follows a redirect, the WWW-Authenticate headers from the
redirect target were lost because credential_from_url() cleared the
credential state. This has been fixed by preserving the collected
headers across the redirect update.

* ap/http-redirect-wwwauth-fix:
  http: preserve wwwauth_headers across redirects

1  2 
http.c
t/t5563-simple-http-auth.sh

diff --cc http.c
Simple merge
Simple merge