mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #37238
[Bug 1615280] [NEW] Email validation bug (long domains)
Public bug reported:
This one has existed since 2006, but only become an issue with the
opening up of TLDs over the past few years.
(https://en.wikipedia.org/wiki/List_of_Internet_top-level_domains)
Currently the email validation in pieform limits the TLD to between 2-4 characters (see pieform_rule_email() in htdocs/lib/pieforms/pieform/rules/email.php.)
That means people from .horse, for example, can't register. Changing the regex fixed my immediate problem, haven't tested how the other email validation points react. They use FILTER_VALIDATE_EMAIL and PHPMailer::ValidateAddress, so might be better.
** Affects: mahara
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1615280
Title:
Email validation bug (long domains)
Status in Mahara:
New
Bug description:
This one has existed since 2006, but only become an issue with the
opening up of TLDs over the past few years.
(https://en.wikipedia.org/wiki/List_of_Internet_top-level_domains)
Currently the email validation in pieform limits the TLD to between 2-4 characters (see pieform_rule_email() in htdocs/lib/pieforms/pieform/rules/email.php.)
That means people from .horse, for example, can't register. Changing the regex fixed my immediate problem, haven't tested how the other email validation points react. They use FILTER_VALIDATE_EMAIL and PHPMailer::ValidateAddress, so might be better.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1615280/+subscriptions
Follow ups
-
[Bug 1615280] Re: Email validation rejects top-level domains longer than 4 characters
From: Robert Lyon, 2016-10-25
-
[Bug 1615280] Re: Email validation rejects top-level domains longer than 4 characters
From: Robert Lyon, 2016-10-21
-
[Bug 1615280] Re: Email validation rejects top-level domains longer than 4 characters
From: Robert Lyon, 2016-10-04
-
[Bug 1615280] Re: Email validation rejects top-level domains longer than 4 characters
From: Aaron Wells, 2016-09-12
-
[Bug 1615280] A change has been merged
From: Mahara Bot, 2016-09-12
-
[Bug 1615280] Re: Email validation rejects top-level domains longer than 4 characters
From: Aaron Wells, 2016-09-01
-
[Bug 1615280] A patch has been submitted for review
From: Mahara Bot, 2016-09-01
-
[Bug 1615280] A patch has been submitted for review
From: Mahara Bot, 2016-09-01
-
[Bug 1615280] A patch has been submitted for review
From: Mahara Bot, 2016-09-01
-
[Bug 1615280] A change has been merged
From: Mahara Bot, 2016-09-01
-
[Bug 1615280] Re: Email validation rejects top-level domains longer than 4 characters
From: Aaron Wells, 2016-09-01
-
[Bug 1615280] Re: Email validation bug (long domains)
From: Aaron Wells, 2016-08-31
-
[Bug 1615280] Re: Email validation bug (long domains)
From: Aaron Wells, 2016-08-31
-
[Bug 1615280] Re: Email validation bug (long domains)
From: Aaron Wells, 2016-08-22
-
[Bug 1615280] Re: Email validation bug (long domains)
From: Aaron Wells, 2016-08-22
-
[Bug 1615280] Re: Email validation bug (long domains)
From: Aaron Wells, 2016-08-21
-
[Bug 1615280] Re: Email validation bug (long domains)
From: Aaron Wells, 2016-08-21
-
[Bug 1615280] Re: Email validation bug (long domains)
From: Aaron Wells, 2016-08-21