Skip to content

fix(proxy): Reject out-of-range port numbers in proxy request#275

Merged
skazantsev merged 1 commit into
1.0from
fix/proxy-port-range-check-1.0
Jul 8, 2026
Merged

fix(proxy): Reject out-of-range port numbers in proxy request#275
skazantsev merged 1 commit into
1.0from
fix/proxy-port-range-check-1.0

Conversation

@skazantsev

@skazantsev skazantsev commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Description of Changes

Add port range validation (> 65535) before constructing the URL in
createProxyRequest. Without this, new URL() throws a TypeError for
invalid ports, causing an unhandled promise rejection and leaving the
client request hanging with no response.

Testing

  • Patch applies cleanly via prepare-src.sh

Additional Notes

Follow-up to #271.

Backporting

Same fix applied to all active branches.


By submitting this pull request, I confirm that you can use, modify, copy,
and redistribute this contribution, under the terms of your choice.

@skazantsev skazantsev requested a review from a team as a code owner July 8, 2026 15:32
sachinh-amazon
sachinh-amazon previously approved these changes Jul 8, 2026
@skazantsev skazantsev force-pushed the fix/proxy-port-range-check-1.0 branch from efc655e to be66d14 Compare July 8, 2026 15:45
@skazantsev skazantsev added this pull request to the merge queue Jul 8, 2026
Merged via the queue into 1.0 with commit 3d53504 Jul 8, 2026
1 check passed
@skazantsev skazantsev deleted the fix/proxy-port-range-check-1.0 branch July 8, 2026 16:55
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.

2 participants