All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] fetch2/wget: limit auth headers on checkstatus redirects
@ 2026-06-10  7:40 Anders Heimer
  2026-06-10  7:40 ` [PATCH 1/2] fetch2/wget: limit auth " Anders Heimer
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Anders Heimer @ 2026-06-10  7:40 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Anders Heimer

FixedHTTPRedirectHandler currently copies request headers when following
redirects. The first patch drops Authorization and Cookie when the
redirect target has a different origin.

The second patch adds local HTTP server tests covering both same-origin
and different-origin redirects.

Anders Heimer (2):
  fetch2/wget: limit auth on checkstatus redirects
  tests/fetch: cover checkstatus redirect auth handling

 lib/bb/fetch2/wget.py | 27 +++++++++++++++++--
 lib/bb/tests/fetch.py | 62 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+), 2 deletions(-)



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-06-10 14:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-10  7:40 [PATCH 0/2] fetch2/wget: limit auth headers on checkstatus redirects Anders Heimer
2026-06-10  7:40 ` [PATCH 1/2] fetch2/wget: limit auth " Anders Heimer
2026-06-10  7:40 ` [PATCH 2/2] tests/fetch: cover checkstatus redirect auth handling Anders Heimer
2026-06-10  7:54 ` [bitbake-devel] [PATCH 0/2] fetch2/wget: limit auth headers on checkstatus redirects Alexander Kanavin
2026-06-10 14:11   ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.