Redirects should not pass along the authorization header for security and usability reasons
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 32/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- networking, security
Research direction
Start by tracing redirect handling in the Windows HTTP implementation and compare it with Apple's default behavior, using the linked Alamofire issue as context. Confirm how authorization headers are carried across redirects, then ensure redirected requests do not pass the authorization header to other locations and verify platform-consistent behavior with the project's existing checks.
Written by the indexing model from the issue text.
Description
Apple does this by default (see https://github.com/Alamofire/Alamofire/issues/798) but it appears the Windows http implementation give flexibility here. To be consistent across platforms as well not leak auth tokens to other locations, the auth header should be removed.
- Dominant language
- C++
- Stars
- 295
- Forks
- 144
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/libHttpClient
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
microsoft/libHttpClient#964 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
microsoft/libHttpClient#958 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
microsoft/libHttpClient#989 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
microsoft/libHttpClient#909 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
microsoft/libHttpClient#868 · 6 comments · 1 reaction ·
All issues in microsoft/libHttpClient
Similar issues
-
ai_reviewed
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ydb-platform/ydb#53869 · 3 comments ·
-
bug cert blocker needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
project-chip/connectedhomeip#74373 ·
-
upstream update
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
conan-io/conan-center-index#31035 ·
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 85/100
vllm-project/vllm-ascend#17329 ·