? Pending

User tests: Successful: Unsuccessful:

avatar OctavianC
OctavianC
5 Apr 2018

Pull Request for Issue #20075 .

Summary of Changes

JMailHelper was right-trimming all dots in the domain part of an email address, so invalid emails such as test@joomla.org. were passing validation.

Testing Instructions

Testing instructions in #20075

Expected result

Actual result

Documentation Changes Required

avatar OctavianC OctavianC - open - 5 Apr 2018
avatar OctavianC OctavianC - change - 5 Apr 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Apr 2018
Category Libraries
avatar laoneo
laoneo - comment - 5 Apr 2018

Should we not do some regex magic to filter out all characters which are not valid?

avatar OctavianC
OctavianC - comment - 5 Apr 2018

I'm just here for fixing this particular bug - there are other places where email validation takes place and maybe in the future there should be a single function?
https://github.com/joomla/joomla-cms/blob/staging/libraries/src/Form/Rule/EmailRule.php

Afaik there's already filtering in place.

avatar Quy
Quy - comment - 6 Apr 2018

I have tested this item successfully on 8128149


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20080.

avatar Quy Quy - test_item - 6 Apr 2018 - Tested successfully
avatar SharkyKZ
SharkyKZ - comment - 6 Apr 2018

I have tested this item successfully on 8128149


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20080.

avatar SharkyKZ SharkyKZ - test_item - 6 Apr 2018 - Tested successfully
avatar franz-wohlkoenig franz-wohlkoenig - change - 6 Apr 2018
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 6 Apr 2018

Ready to Commit after two successful tests.

avatar mbabker mbabker - change - 7 Apr 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-04-07 14:30:49
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 7 Apr 2018
avatar mbabker mbabker - merge - 7 Apr 2018

Add a Comment

Login with GitHub to post a comment