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

Hostname Case Folding is Wrong According to the RFC #88

Open
frankcrawford opened this issue Feb 25, 2020 · 0 comments
Open

Hostname Case Folding is Wrong According to the RFC #88

frankcrawford opened this issue Feb 25, 2020 · 0 comments

Comments

@frankcrawford
Copy link
Contributor

PR #85 probably breaches RFC 4343, in that Section 4.2 DNS Input Case Preservation states that

When a node in the DNS name tree is created by any of such
inputs, no case conversion is done. Thus, the case of ASCII labels
is preserved if they are for nodes being created.

However, all testing is case insensitive and when multiple entries created:

However, when a
name label is input for a node that already exists in DNS data being
held, the situation is more complex. Implementations are free to
retain the case first loaded for such a label, to allow new input to
override the old case, or even to maintain separate copies preserving
the input case.

All this means that we shouldn't really be changing the case, but rather, implementing some case insensitive test.

What do others feel we should do?

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

No branches or pull requests

1 participant