Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Redirects should not pass along the authorization header for security and usability reasons

Open
#547 1 comment 0 reactions 0 assignees View on GitHub

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

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/libHttpClient

All issues in microsoft/libHttpClient

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.