Skip to content

Reject HTTP URLs in createProxyRestClient - #100

Merged
proxymesh merged 1 commit into
mainfrom
cursor/reject-http-rest-client-71d0
Dec 1, 2026
Merged

proxymesh merged 1 commit into
mainfrom
cursor/reject-http-rest-client-71d0

Conversation

@proxymeshai

@proxymeshai proxymeshai commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • createProxyRestClient now rejects plain http: URLs and HTTPS-to-HTTP redirects, matching createProxyGot, so HTTP cannot bypass the proxy.
  • Unit tests cover a dead-end proxy on http: and an HTTPS-to-HTTP redirect.

Co-authored-by: ProxyMesh AI <proxymeshai@users.noreply.github.com>
@proxymesh
proxymesh marked this pull request as ready for review December 1, 2026 18:44
@proxymesh
proxymesh merged commit 71ca1de into main Dec 1, 2026
3 checks passed
@proxymesh
proxymesh deleted the cursor/reject-http-rest-client-71d0 branch December 1, 2026 18:44
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.

3 participants