You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Hi,
Emails are now able to have url's with longer extensions like .school .accountant or .construction but V9 won't accept the creation of accounts with long top-level domain names. How can I fix this?
List of NEW top level domains: https://www.domain.com/domains/new-doma … data-table
Cheers,
Bruce.
Offline
These should help:
https://forum.kryptronic.com/viewtopic.php?id=33957
https://forum.kryptronic.com/viewtopic.php?id=33843
Offline
Hi Nick,
So you were going to post back a fix in Feb 2019 it's now Oct 2019 https://forum.kryptronic.com/viewtopic.php?id=33843
and https://forum.kryptronic.com/viewtopic.php?id=33957 is using a workaround for the time being by making changes through Raw Database Admin for this type of email.
When I go to Raw and browse the USER table I cannot edit the ID column so I went into cpanel and phpmyadmin and did it from there.
NOTE: This is not a fix though as users cannot register with the new emails.
Can you look into the fix please.
Cheers,
Bruce
Offline
Take a look at {private}/core/CORE_Mail/CORE_Mail.php. In there, there is a check_address() function that is giving longer TLD an issue. In that function, there is a regex:
if (!(preg_match('/^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$/',$address))) {
Change that to:
if (!(preg_match('/^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,9})$/',$address))) {
And see if that helps. That will get PEAR to check the address, which might also be a problem.
Offline
Hi Nick,
Yep, Nine works but you're going to need more letters.. eg bruce@test.construction - construction is 12
Cheers,
Bruce.
Offline