Skip to content

Conversation

@plaurina
Copy link

For people using URL.getNormalizedUrl() their functionality will not change, but I added a method signature that allows a boolean to this that will not reverse the domain labels.

-Pete

@plaurina
Copy link
Author

Well, it no longer order the domain parts, which was the intent, but it does order the parameters.
I could see renaming the method, but I was also trying to be the least invasive as I could.

Also, one thing I'm likely to add is something the java.net.URI.Normalize() method does. It normalizes the path on the URI as well, removing any . or .. paths appropriately. ie. http://example.com/test/../ is equivalent to http://example.com

-Pete

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