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

Updated domain validator coverage #179

Conversation

pr0fg
Copy link

@pr0fg pr0fg commented Oct 5, 2020

Updated domain validator to support domains that start with an underscore. These domains are quite common in the wild.

For example:
_jabber._tcp.gmail.com
_sip._udp.apnic.net

See RFC 2181, section 11, "Name syntax" and RFC 1034, section 3.5 "Preferred name syntax" for more info.

Updated domain validator to support domains that start with an underscore. These domains are quite common in the wild.

For example:
_jabber._tcp.gmail.com
_sip._udp.apnic.net

See RFC 2181, section 11, "Name syntax" and RFC 1034, section 3.5 "Preferred name syntax" for more info.
@pr0fg
Copy link
Author

pr0fg commented Oct 5, 2020

Looks like we need to resolve cases where a TLD starts with an underscore (invalid) vs. a subdomain starting with an underscore (valid).

yozachar added a commit to yozachar/pyvalidators that referenced this pull request Mar 2, 2023
- Uses type hints, improve docs
- Regards [RFC 1034](https://www.rfc-editor.org/rfc/rfc1034) and [RFC 2782](https://www.rfc-editor.org/rfc/rfc2782)
- Updates corresponding test functions

**Related items**

*Issues*

- Closes python-validators#52
- Closes python-validators#74
- Closes python-validators#81
- Closes python-validators#89
- Closes python-validators#95
- Closes python-validators#120
- Closes python-validators#124
- Closes python-validators#141
- Closes python-validators#143
- Closes python-validators#199
- Closes python-validators#204

*PRs*

- Closes python-validators#114
- Closes python-validators#179
yozachar added a commit to yozachar/pyvalidators that referenced this pull request Mar 2, 2023
- Uses type hints, improve docs
- Regards [RFC 1034](https://www.rfc-editor.org/rfc/rfc1034) and [RFC 2782](https://www.rfc-editor.org/rfc/rfc2782)
- Updates corresponding test functions

**Related items**

*Issues*

- Closes python-validators#52
- Closes python-validators#74
- Closes python-validators#81
- Closes python-validators#89
- Closes python-validators#95
- Closes python-validators#120
- Closes python-validators#124
- Closes python-validators#141
- Closes python-validators#143
- Closes python-validators#199
- Closes python-validators#204

*PRs*

- Closes python-validators#114
- Closes python-validators#179
@yozachar yozachar added the enhancement Issue/PR: A new feature label Mar 2, 2023
@yozachar yozachar closed this in 7489857 Mar 3, 2023
@yozachar yozachar closed this in #231 Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issue/PR: A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants