E-mail Validation during Registration

17 years 10 months ago #14760 by moneybagsxp
E-mail Validation during Registration was created by moneybagsxp
Users are able to register with email addresses such as:
  • this has spaces@domain.com
  • email1@domain.com or email2@domain.com

..Not sure why spaces would be allowed for this field...

www.pixelchutes.com - Where every pixel matters.

Please Log in to join the conversation.

17 years 10 months ago #14761 by moneybagsxp
Replied by moneybagsxp on topic Re:E-mail Validation during Registration
Hmm...

looks like it's not a CB bug, rather a Joomla 1.0.7 incident
(possibly older/newer versions, too)

For Joomla 1.0.7 users, overwrite includes/joomla.php line 2162, with this:

[code:1]
if ((trim($this->email == ""«»)) || (preg_match("/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,})+$/", $this->email )==false)) {
[/code:1]

...to disallow spaces in email addresses on registration.

Sorry CB!

Post edited by: moneybagsxp, at: 2006/06/05 19:19

www.pixelchutes.com - Where every pixel matters.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.154 seconds

Facebook Twitter LinkedIn