From: Anders Heimer <anders.heimer@est.tech>
To: bitbake-devel@lists.openembedded.org
Cc: Anders Heimer <anders.heimer@est.tech>
Subject: [PATCH 0/2] fetch2/wget: limit auth headers on checkstatus redirects
Date: Wed, 10 Jun 2026 09:40:11 +0200 [thread overview]
Message-ID: <20260610074013.558709-1-anders.heimer@est.tech> (raw)
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(-)
next reply other threads:[~2026-06-10 7:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-10 7:40 Anders Heimer [this message]
2026-06-10 7:40 ` [PATCH 1/2] fetch2/wget: limit auth on checkstatus redirects 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260610074013.558709-1-anders.heimer@est.tech \
--to=anders.heimer@est.tech \
--cc=bitbake-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.