blockcore-notes icon indicating copy to clipboard operation
blockcore-notes copied to clipboard

Lack of email verification in block-core/nodes leads to acceptance of invalid email syntax and domains.

Open vr-varad opened this issue 1 year ago • 2 comments

Currently, the email verification process within block-core/nodes is insufficient, as the form fails to differentiate between valid and invalid email addresses. This poses a risk of accepting invalid syntax (e.g., "[email protected]") or non-existent domains (e.g., "_@domain").

Solution: Integrate a regex pattern such as /^\w+([.-]?\w+)@\w+([.-]?\w+)(.\w{2,3})+$/ at the backend to ensure validation of email addresses, enhancing the verification process and accepting only valid email formats.

vr-varad avatar Apr 12 '24 14:04 vr-varad

I would like to work on this @sondreb @miladsoft

vr-varad avatar Apr 12 '24 14:04 vr-varad

Please go ahead and make a PR for it, the repo has recently been upgraded with latest dependencies.

sondreb avatar Apr 01 '25 16:04 sondreb