Skip to content

feat: adds hostname validator #240

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

Merged
merged 1 commit into from
Mar 12, 2023
Merged

Conversation

yozachar
Copy link
Collaborator

  • hostname can be
    • a simple alpha-numeral, in the context of system names
    • an ip address, in the context of URLs
    • a domain name, in the context of URLs
    • in all the above cases, it can be with or without port number
  • adds tests, update docs

Related items

PRs

@yozachar yozachar added duplicate Issue/PR: Redundant enhancement Issue/PR: A new feature review PR: Can be reviewed labels Mar 11, 2023
@yozachar yozachar self-assigned this Mar 11, 2023
@yozachar yozachar mentioned this pull request Mar 11, 2023
- hostname can be
  - a simple alpha-numeral, in the context of system names
  - an ip address, in the context of URLs
  - a domain name, in the context of URLs
  - in all the above cases, it can be with or without port number
- adds tests, update docs

**Related items**

*PRs*

- Closes python-validators#220
@yozachar yozachar merged commit e05e967 into python-validators:master Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issue/PR: Redundant enhancement Issue/PR: A new feature review PR: Can be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant