Skip to content
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

Only use full URL for HTTP proxies #280

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Only use full URL for HTTP proxies #280

merged 1 commit into from
Oct 17, 2024

Conversation

rodarima
Copy link
Member

When performing a HTTPS request over a HTTP proxy, a direct connection is made to the remote server, so the GET line will be received as is. Therefore we shouldn't send the full URL but just the path.

Fixes: #279

@rodarima rodarima added this to the Release 3.2.0 milestone Oct 16, 2024
@rodarima rodarima force-pushed the fix-proxy-tls branch 2 times, most recently from 2269aaf to f569f46 Compare October 17, 2024 17:59
When performing a HTTPS request over a HTTP proxy, a direct connection
is made to the remote server, so the GET line will be received as is.
Therefore we shouldn't send the full URL but just the path.

Fixes: #279
@rodarima rodarima merged commit 9f44eb5 into master Oct 17, 2024
22 checks passed
@rodarima rodarima deleted the fix-proxy-tls branch October 17, 2024 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bad request when using proxy for some hosts
1 participant