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 email validation #939

Merged
merged 3 commits into from
Mar 24, 2023
Merged

Fix email validation #939

merged 3 commits into from
Mar 24, 2023

Conversation

ZakarFin
Copy link
Member

Seems that the email validation was broken in #924. This fixes the issue and uses regexp from https://owasp.org/www-community/OWASP_Validation_Regex_Repository for validating the address.

Note to self: add/require more unit tests...

Compile the regexp pattern once
@jampukka
Copy link
Member

jampukka commented Mar 24, 2023

Uhm sorry, I wanted to test the suggest changes functionality but ended up creating commits to the PR, whoopsie!

@ZakarFin
Copy link
Member Author

No worries :) Thanks for the review :D

@ZakarFin ZakarFin added this to the 2.11.0 milestone Mar 24, 2023
@ZakarFin ZakarFin merged commit 9365ab4 into oskariorg:develop Mar 24, 2023
@ZakarFin ZakarFin deleted the email-validation branch March 24, 2023 12:14
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.

2 participants