Actions
Task #2626
openE-mail address validation allows to enter some invalid patterns
Status:
New
Priority:
Low
Assignee:
Radek Tomiška
Category:
Validators
Target version:
-
Start date:
12/21/2020
Due date:
% Done:
0%
Estimated time:
Owner:
Description
E-mail address validation allows to enter some invalid patterns like:
abc-@mail.com
abc#def@mail.com
abc.def@mail
I assume that the error also occurs in previous versions.
Updated by Radek Tomiška almost 4 years ago
- Tracker changed from Defect to Task
- Assignee changed from Vít Švanda to Radek Tomiška
- Affected versions deleted (
10.6.3, 10.6.4)
We are using standard hibernate validator for emails on BE (@Email
) and joi framework on FE (Joi.email()
), which are not very restrictive about emails (minimal check that doesn't suffer from the problem of false negatives). We could add additional regex validation for cover additional variants (e.g. https://stackoverflow.com/a/26347958/4469622), but it can be dangerous in some contexts.
Actions