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

Fix/rfc952 host #600

Merged
merged 3 commits into from
May 21, 2020
Merged

Fix/rfc952 host #600

merged 3 commits into from
May 21, 2020

Conversation

amiraliucsc
Copy link
Contributor

@amiraliucsc amiraliucsc commented Apr 19, 2020

Signed-off-by: amiraliucsc amirali7089@gmail.com

Fixes Or Enhances #599 .

Make sure that you've checked the boxes below before you submit PR:

  • Tests exist or have been written that cover this particular change.

Change Details:
This PR will change the hostnameRegexStringRFC952 to validate the dots only if one character is before the dot. This is to prevent considering string such as "example.....com" as a valid host.

@go-playground/admins

Signed-off-by: amiraliucsc <amirali7089@gmail.com>
Signed-off-by: amiraliucsc <amirali7089@gmail.com>
Signed-off-by: amiraliucsc <amirali7089@gmail.com>
@amiraliucsc
Copy link
Contributor Author

Any update on this fix?

@deankarn deankarn merged commit 7e978ff into go-playground:master May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants