Loading...
 
Skip to main content

Make regex used for validating email addresses on validation more RFC compliant

Status
Pending
Subject
Make regex used for validating email addresses on validation more RFC compliant
Version
2.x
Category
  • Error
  • Feature request
Feature
User Administration (Registration, Login & Banning)
Submitted by
Nelson Ko
Rating
(0)
Description

This started when I discovered that when trying to register with an address using the "GMail-Format" like
normal.mail+something@gmail.com and it will fail although the address is valid. I have made a quick fix to allow '+' in the name part of the email address, but obviously more can be done to make this more RFC compliant. Will have to double check that email actually sends, of course.

Some references:

http://www.regular-expressions.info/email.html
http://en.wikipedia.org/wiki/E-mail_address#Plus_.28or_Minus.29_addressing

Importance
3
Priority
15
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1467
Created
Wednesday 26 December, 2007 21:33:13 UTC
by Unknown
LastModif
Wednesday 26 December, 2007 21:33:13 UTC


Show PHP error messages