Just for information, e-mail address in form something@something.info has been rejected as invalid, probably due to check routine which does not like more than 3 chars TLD. Has anyone solved it?
Regards
Jiri
I haven't tested this, but I just did a quick glance at the validation routine, and yes, the regular expression only checks for 2-3 characters.
So, I imagine if you changed that, you will have fixed your problem.
In catalog\controller\account_create.php in the validate(),
should be changed to
Hope that helps.
So, I imagine if you changed that, you will have fixed your problem.
In catalog\controller\account_create.php in the validate(),
Code: Select all
if (!eregi('^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$', $request->get('email', 'post'))) {
$this->error['email'] = $language->get('error_email');
}
Code: Select all
if (!eregi('^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$', $request->get('email', 'post'))) {
$this->error['email'] = $language->get('error_email');
}
Who is online
Users browsing this forum: No registered users and 5 guests