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

Special characters are not allowed in email addresses #4272

Open
dtroelofsprins opened this issue Sep 27, 2024 · 0 comments
Open

Special characters are not allowed in email addresses #4272

dtroelofsprins opened this issue Sep 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dtroelofsprins
Copy link
Contributor

dtroelofsprins commented Sep 27, 2024

What version of EMX2 are you using (see footer)
v11.13.0

Describe the bug
It's not possible to include email addresses which include special characters, f.e. elż[email protected]

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://emx2.dev.molgenis.org'
  2. Click on pet store (or create a new schema using the pet store template)
  3. Go to the User table
  4. Create a new user with email address ü[email protected] => At first glance it seems OK, because no error is shown
  5. Only when saving the data the following error is thrown:
    Update into table 'User' failed.: Transaction failed: Validation failed: ü[email protected] is not valid EMAIL

Expected behavior
Except from "@" every character should be possible to use before the @ (it may even be case-sensitive)
The shortest valid email address could be i@me

Additional context
Your E-Mail Validation Logic is Wrong

@dtroelofsprins dtroelofsprins added the bug Something isn't working label Sep 27, 2024
@dtroelofsprins dtroelofsprins changed the title Special character are not allowed in email addresses Special characters are not allowed in email addresses Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant