8000 email error message unfriendly · Issue #43 · Baggz/Amanda · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

email error message unfriendly #43

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

Open
pixelshaded opened this issue Jul 11, 2012 · 0 comments
Open

email error message unfriendly #43

pixelshaded opened this issue Jul 11, 2012 · 0 comments

Comments

@pixelshaded
Copy link

If I validate a property to be email format, the error message on failed validation is something like this:

The ‘email’ does not match the ‘/^(?:[\w!#$%&'_+-/=?^`{|}~]+.)_[\w!#$%&'*+-/=?^`{|}~]+@(?:(?:(?:a-zA-Z0-9{0,61}[a-zA-Z0-9]?.)+a-zA-Z0-9{0,61}[a-zA-Z0-9]?)|(?:[(?:(?:[01]?\d{1,2}|2[0-4]\d|25[0-5]).){3}(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])]))$/’ pattern.

I think this might be useful to know the pattern that its being compared against for the developer, but as a user this error message is like waaaa?

Not necessarily a bug, but I imagine a more friendly error message would be that 'email' was not a valid email address.

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

No branches or pull requests

1 participant
0