-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump FQDN regex to allow for 25 characters (#4890)
* Bump FQDN regex to allow for 25 characters This change allows 25 characters off the final end of the FQDN i.e. instead of just .com they can do as much as .internal or .ourprivatesite Signed-off-by: seajamied <jdegnan@chef.io> * Add code comment about limiting TLD Signed-off-by: seajamied <jdegnan@chef.io> * Add unit tests for the Add Chef Server form Signed-off-by: seajamied <jdegnan@chef.io> * Remove unnecessary imports Signed-off-by: seajamied <jdegnan@chef.io> * Formatting correction Signed-off-by: seajamied <jdegnan@chef.io> * Added more test cases for errors Signed-off-by: seajamied <jdegnan@chef.io> * Add tests for each missing input Signed-off-by: seajamied <jdegnan@chef.io> * Add a bunch of different failure tests for fqdn Signed-off-by: seajamied <jdegnan@chef.io> * WIP - adding more success tests Signed-off-by: seajamied <jdegnan@chef.io> * Shorten up fqdn regex a little big, add tests Signed-off-by: seajamied <jdegnan@chef.io> * More tests added Signed-off-by: seajamied <jdegnan@chef.io> * Fix spelling error Signed-off-by: seajamied <jdegnan@chef.io>
- Loading branch information
Showing
2 changed files
with
160 additions
and
7 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