Skip to content

Commit

Permalink
Update config.py
Browse files Browse the repository at this point in the history
Update regular expression according https://en.wikipedia.org/wiki/Domain_Name_System#cite_ref-rfc1034_1-2. Top level domain can cosist of 63 letters.
  • Loading branch information
pabo3000 committed Apr 23, 2020
1 parent 89d7f68 commit bb60b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Products/EasyNewsletter/config.py
Expand Up @@ -53,7 +53,7 @@


EMAIL_RE = re.compile(
r"(?:^|\s)[-a-z0-9_.]+@(?:[-a-z0-9]+\.)+[a-z]{2,6}(?:\s|$)", re.IGNORECASE)
r"(?:^|\s)[-a-z0-9_.]+@(?:[-a-z0-9]+\.)+[a-z]{2,63}(?:\s|$)", re.IGNORECASE)


DEFAULT_SUBSCRIBER_CONFIRMATION_MAIL_SUBJECT = _(
Expand Down

0 comments on commit bb60b3d

Please sign in to comment.