Post by wal_j » Wed Sep 02, 2009 10:10 pm

I found that creating a new account with an email that contains two Underscores before the @ made the email verification fail.

catalog/controller/account/create.php
line 281

Code: Select all

$pattern = '/^([a-z0-9])(([-a-z0-9._])*([a-z0-9]))*\@([a-z0-9])(([a-z0-9-])*([a-z0-9]))+(\.([a-z0-9])([-a-z0-9_-])?([a-z0-9])+)+$/i';
I replaced with.

Code: Select all

$pattern = '/^[-0-9A-Z_\.]{1,50}@([-0-9A-Z_\.]+\.){1,50}([0-9A-Z]){2,4}$/i';
Best Wishes
Alex

New member

Posts

Joined
Tue May 12, 2009 11:51 pm
Who is online

Users browsing this forum: No registered users and 17 guests