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

Added additional regex to address internal extra dots in hostnames #38

Conversation

michael-peterson-cisco
Copy link
Contributor

@michael-peterson-cisco michael-peterson-cisco commented Aug 17, 2023

I've added an additional regex to match multiple "."s and use that to replace them with a single "." in the "removeUnncessaryHostDots" function. I also added a test case to verify it's working as expected.

Fixes #36

Copy link
Collaborator

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

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

Thank you!

@JohnTitor JohnTitor merged commit 1fa4a70 into PuerkitoBio:master Oct 22, 2023
3 checks passed
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.

FlagRemoveUnnecessaryHostDots doesn't remove extra dots between parts
2 participants