-
Notifications
You must be signed in to change notification settings - Fork 2.3k
.NET: fix: do not forward headers on redirect #8164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+788
−30
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
69edc87
fix: do not forward headers on redirect
baywet 8565d5b
tests: use mocked handlers instead of simulated endpoints for reliabi…
baywet e3cc7b3
docs: Clarify redirect handling in DefaultHttpRequestHandler
baywet 7f83f9a
chore: Improve exception handling for invalid request URI
baywet 38be037
docs: fixes xml doc structure
baywet 972c949
tests: linting
baywet d67918d
perf: only read headers for redirect responses
baywet a443079
fix: aggregate timeout across redirects
baywet e6d0dbb
fix: prevent https to http redirects
baywet e543953
fix: do not reject provider clients on initial request
baywet 9b5da78
tests: refactor to avoid missing disposals
baywet 971e888
fix: do not rely on specific headers names
baywet 1d300c6
fix: address redirect review feedback
Copilot c2aaa0d
tests: ensure responses are disposed
baywet f29e857
chore: suppression of linting rule
baywet 62fb41e
fix: reject redirect with body to different origin
baywet 81a0995
fix: timeout in dotnet fx as well
baywet 44cac61
fix: return the redirect response instead of throwing
baywet 23993cb
Apply batched suggestions from code review
baywet 9dfa1b4
Potential fix for pull request finding 'Missing Dispose call on local…
baywet 6fc25b0
chore: linting
baywet File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.