nfdi4plants/arc-validate

Email address must be in correct format

omaus opened this issue · 2 comments

omaus commented

Atm., the pipeline only looks for persons with present email addresses but since Invenio cannot parse emails in incorrect formats (e.g. "myName[at]server.domain") or text that is no email at all, we must implement a check for valid email format (i.e. "@.")

CC: @Zerskk

is this still relevant @omaus?

omaus commented

To me, this looks fixed... @kMutagene

let email = Regex(@"^[^@\s]+@[^@\s]+\.[^@\s]+$")