fetch2/wget: limit auth headers on checkstatus redirects
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | fetch2/wget: limit auth on checkstatus redirectslib/ | +25 | 0 replies | |
| 2/2 | tests/fetch: cover checkstatus redirect auth handlinglib/ | +62 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] fetch2/wget: limit auth headers on checkstatus redirects
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(-)