OC 1.3.2 Email Verification too Harsh
Posted: 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
I replaced with.
Best Wishes
Alex
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';
Code: Select all
$pattern = '/^[-0-9A-Z_\.]{1,50}@([-0-9A-Z_\.]+\.){1,50}([0-9A-Z]){2,4}$/i';
Alex