Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MGMT-15886: Fix domain validation (#5801)
https://issues.redhat.com/browse/MGMT-15886 Modify domain validation to adhere to the RFC standard for domains https://datatracker.ietf.org/doc/html/rfc1034#section-3.5 Rules for labels: 1. start with a letter 2. end with a letter or digit 3. and have as interior characters only letters, digits, and hyphen Domains contains either one label or multiple labels separated by a period. Top level (base) domains must have at least two characters and cannot end in a dash.
- Loading branch information
1 parent
d41f536
commit fd8eb19
Showing
3 changed files
with
23 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters