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

invalid email address for a profile #740

Open
Pablohn26 opened this issue Feb 20, 2023 · 2 comments
Open

invalid email address for a profile #740

Pablohn26 opened this issue Feb 20, 2023 · 2 comments

Comments

@Pablohn26
Copy link

Some datasources (for example mbox) return an anonymized email of the contributor shorting it adding a ..., which makes it an invalid email.

image

With jira datasource, sometimes we get the email in the form: name dot something at domain dot com:
image

May happen that we store those invalid/anonymized emails while we have another valid emails from other identities/datasources in the same profile (individual). So we should save as main email of the individual a valid email instead of an invalid/anonymized email address.

@aklapper
Copy link
Contributor

aklapper commented Oct 3, 2024

How to define a valid email address? Checking for an @ character?

@sduenas
Copy link
Member

sduenas commented Oct 3, 2024

How to define a valid email address? Checking for an @ character?

The regex pattern we use for recommendations is :

^(?P<email>[^\s@]+@[^\s@.]+\.[^\s@]+)$

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

3 participants