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

Entering overly long domain name on domain availability input results in special character error instead of char limit error #2829

Open
erinysong opened this issue Sep 19, 2024 · 0 comments
Labels
bug Something that isn't working as intended

Comments

@erinysong
Copy link
Contributor

Current Behavior

When inputting a >63 character domain name on a domain request, the error message informs the user that they should use alphanumeric chars or hyphens when the error really occurs because the domain name surpasses the field's char limit. This misleads the user and gives incorrect information on why their domain name is invalid.

The domain character limit is also listed as 253 in our models so it is unclear why this error displays when a user enters a domain with a length within the character limit.

image

Expected Behavior

The error message should inform the user that their domain is invalid due to length if 63 is our correct character count. If we want our domain character limit to remain 253, this error should not display for domains with names length >63 and <253

Steps to Reproduce

  1. Create a domain request. Enter a domain name with 63 characters. The domain availability check should validate. Add another character to the domain to make the name 64 characters. The domain availability check displays the error: Enter a domain using only letters, numbers, or hyphens.

63 char string for convenience: meowardmeowardmeowardmeowardmeowardmeowardmeowardmeowardmeoward
image

Environment

No response

Additional Context

No response

Issue Links

No response

@erinysong erinysong added the bug Something that isn't working as intended label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that isn't working as intended
Projects
Status: 🍦 Backlog
Development

No branches or pull requests

1 participant