Fixed Members able to sign up with completely invalid email addresses

Vekseid

Active member
Affected version
2.0.10
Someone tried to sign up with a hotmail address, had a serious case of typos and forgot the .com. Going to make a post in @Xon 's thread, but this probably should not be possible in general.

Code:
    Swift_TransportException: Email to [redacted]@hitmakl failed: Unable to send mail. src/XF/Mail/Mailer.php:292 

    Generated by: Unknown account Dec 3, 2018 at 4:35 PM 

Stack trace

#0 src/addons/SV/EmailQueue/XF/Mail/Queue.php(69): XF\Mail\Mailer->send(Object(Swift_Message), Object(Swift_SmtpTransport))
#1 src/XF/Job/MailQueue.php(11): SV\EmailQueue\XF\Mail\Queue->run(7.9999990463257)
#2 src/XF/Job/Manager.php(241): XF\Job\MailQueue->run(7.9999990463257)
#3 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 7.9999990463257)
#4 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 7.9999990463257)
#5 job.php(14): XF\Job\Manager->runQueue(false, 8)
#6 {main}
 
Thank you for reporting this issue. The issue is now resolved and we are aiming to include that in a future XF release (2.0.12).

Change log:
By default, reject email addresses as invalid if there are no dots in the domain part.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Top Bottom