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

Fix #11414 URI schema and port normalization #11416

Merged
merged 13 commits into from
Feb 20, 2024

Conversation

gregw
Copy link
Contributor

@gregw gregw commented Feb 16, 2024

This PR builds on and replaces #11415.

It retains the HttpURI changes, but reverts to using URIUtil methods for URI manipulations that need strings.
The knowledge of default ports has been moved from HttpScheme to URIUtil and expanded for more schemes.

@gregw gregw requested a review from joakime February 16, 2024 15:31
Copy link
Contributor

@joakime joakime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks better. I need to fix some test case assertions elsewhere that are expecting Location lines with things like http://local:8080/path (which isn't sane anymore).

@gregw gregw marked this pull request as ready for review February 17, 2024 07:34
@gregw gregw merged commit f07d812 into jetty-12.0.x Feb 20, 2024
8 checks passed
@gregw gregw deleted the fix/12.0.x/11414-httpuris-spec-scheme-port2 branch February 20, 2024 19:13
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