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: allow trailing slash in listeners config (MINOR) #5012

Merged
merged 2 commits into from
Apr 7, 2020

Conversation

agavra
Copy link
Contributor

@agavra agavra commented Apr 6, 2020

fixes #4668

Description

See the description in the issue, we should allow listener IPs with trailing slash (e.g. http://localhost:8080/)

Testing done

Unit testing

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

@agavra agavra requested a review from a team as a code owner April 6, 2020 21:40
Copy link
Contributor

@big-andy-coates big-andy-coates left a comment

Choose a reason for hiding this comment

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

LGTM dude.

Comment on lines 55 to 56
// the getHost/getPort utilities don't handle URLs that end with `/` - since this issue
// has come up multiple times for ksqlDB we special case it here
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think the comment adds anything to the code.

How about removing and maybe reference the issue in the test?

Copy link
Contributor Author

@agavra agavra Apr 7, 2020

Choose a reason for hiding this comment

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

fair enough - i just removed it altogether, if someone is interested they can see commit history

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.

Error parsing host address when executing queries
2 participants