Skip to content

Conversation

@d00malun
Copy link

@d00malun d00malun commented Nov 5, 2022

URI.getPort() will return -1 for an URI without a port. This is not handled in the DiscoveryParser and results in an incorrect parsed url. For example: http://192.168.1.108:-1 instead of the correct http://192.168.1.108.

This PR will fix the parsing.

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.

1 participant