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

wireaddr: relax is_dnsaddr to allow for underscore in hostname #5789

Merged
merged 2 commits into from
Dec 6, 2022

Conversation

m-schmoock
Copy link
Collaborator

The hostname part of a DNS FQDN can allow for additional characters other than specified in man 7 hostname.
This extends is_dnsaddr and the test for issue #5657.
Also fixes a typo in a comment.

Changelog-Fixed: wireaddr: #5657 allow '_' underscore in hostname part of DNS FQDN

The hostname part of a DNS FQDN can allow for additional characters
other than specified in `man 7 hostname`.

This extends is_dnsaddr and the test issue ElementsProject#5657.
Also fixes a typo in a comment.

Changelog-Fixed: wireaddr: ElementsProject#5657 allow '_' underscore in hostname part of DNS FQDN
@m-schmoock m-schmoock added this to the v22.11.1 milestone Dec 6, 2022
@m-schmoock
Copy link
Collaborator Author

On top of this we can ask the question, if we should lowercase the input on our side before the check.
Uppercase is not valid, but still all tools and libraries lowercase convert it on the fly.

@cdecker cdecker enabled auto-merge (rebase) December 6, 2022 13:26
@cdecker
Copy link
Member

cdecker commented Dec 6, 2022

ACK 8bff0e8

@cdecker cdecker merged commit fb9d668 into ElementsProject:master Dec 6, 2022
@m-schmoock m-schmoock deleted the wireaddr/relax_is_dns branch December 6, 2022 13:49
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.

None yet

2 participants