Skip to content

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

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

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

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 #270.

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.1 branch from 8adb92b to b8c69c1 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.1 with commit dcd004a Jul 8, 2026
1 check passed
@skazantsev skazantsev deleted the fix/proxy-port-range-check-1.1 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