-
Notifications
You must be signed in to change notification settings - Fork 18
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
Invalid domain parser needs improvement #75
Comments
This also goes wrong in a large number of places in draft-ietf-tcpm-accurate-31.txt which has lines like:
|
And it's misfiring on email addresses, such as these in draft-ietf-lsr-ospf-admin-tags-24.txt (where some author addresses have something.ietf@ as the username part of the email address). |
I have created a new pull request to fix this. Now it doesn't recognise phrases like "Q.850" as a domain. But I don't know what to do with words like "r.ceb". Parser still adds it to domain array, because it looks like a real domain. Perhaps you have some advice? |
Restrict matches the way idnits2 does at Lines 2729 to 2734 in 989e178
|
Using https://www.ietf.org/archive/id/draft-ietf-sipcore-multiple-reasons-01.txt as input and as of:
commit 7e5802141ce21bab0ef8f01c1c035a07d92bdc34 (HEAD -> v3, ietf-tools/v3, ietf-tools/HEAD)
idnits2 does not warn about this valid string that is not a domain name.
The text was updated successfully, but these errors were encountered: