-
Notifications
You must be signed in to change notification settings - Fork 57
feat: implement RFC 6763 Section 4.3 escaping for instance names #420
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
feat: implement RFC 6763 Section 4.3 escaping for instance names #420
Conversation
Add proper escaping of dots and backslashes in DNS-SD instance names according to RFC 6763 Section 4.3: - '.' becomes '\.' - '\' becomes '\\' This ensures that literal dots in instance names (e.g., "My.Service") are not interpreted as DNS label separators when constructing the Service Instance Name. Fixes improper handling of instance names containing dots or backslashes.
c515d2e to
13a7bf7
Compare
|
The description section seems to be missing backslash in these:
I think it's because of Markdown syntax, and should use ``, not '' for them. |
keepsimple1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your PR! LGTM, only a couple of minor comments inline.
|
Another small thing: could you please explicitly refer to the issue number in this PR description? |
keepsimple1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM, so I will merge this before it's getting too old ;-)
For reference, this is to fix issue #418 .
Update comments per unresolved comments in PR #420.
Add proper escaping of dots and backslashes in DNS-SD instance names according to RFC 6763 Section 4.3:
This ensures that literal dots in instance names (e.g., "My.Service") are not interpreted as DNS label separators when constructing the Service Instance Name.
Fixes improper handling of instance names containing dots or backslashes.