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

[IMPROVED] Trim trailing slash if set on server address which can cause errors during lookup #1654

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

josephwoodward
Copy link
Contributor

@josephwoodward josephwoodward commented Jun 19, 2024

This change addresses issue #1545, opting for trimming any possible trailing slash as opposed to returning an error to the user.

Copy link
Collaborator

@piotrpio piotrpio left a comment

Choose a reason for hiding this comment

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

Hey @josephwoodward, thanks for the contribution and sorry it took so long to review - LGTM!

@piotrpio piotrpio merged commit 97e6a52 into nats-io:main Jul 17, 2024
1 check passed
@josephwoodward
Copy link
Contributor Author

@piotrpio Not a problem!

@josephwoodward josephwoodward deleted the trim-hostname-trailing-slash branch July 19, 2024 22:33
piotrpio pushed a commit that referenced this pull request Jul 23, 2024
@piotrpio piotrpio mentioned this pull request Aug 13, 2024
piotrpio pushed a commit that referenced this pull request Aug 15, 2024
piotrpio pushed a commit that referenced this pull request Aug 15, 2024
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