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

Allow spec port stripping of 80/443 on websocket too. #11389

Conversation

joakime
Copy link
Contributor

@joakime joakime commented Feb 7, 2024

Both URIUtil.appendSchemeHostPort() methods do not strip the default ports 80 and 443 in case of non-http schemes (like websocket).

Adding knowledge about websocket schemes (and test cases) to these methods.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
@joakime joakime requested a review from sbordet February 7, 2024 20:58
@joakime joakime self-assigned this Feb 7, 2024
@joakime joakime merged commit ede74bf into jetty-9.4.x Feb 8, 2024
7 checks passed
@sbordet sbordet deleted the fix/9.4.x/uriutil-append-scheme-host-port-with-websocket branch February 13, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants