[wp-trac] [WordPress Trac] #25108: is_email() function validates email with domain that just has 1 character after dot

WordPress Trac noreply at wordpress.org
Wed Aug 28 16:46:20 UTC 2013


#25108: is_email() function validates email with domain that just has 1 character
after dot
--------------------------------------+------------------------------
 Reporter:  hchouhan                  |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Mail                      |     Version:  3.6
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |
--------------------------------------+------------------------------
Changes (by DrewAPicture):

 * keywords:  has-patch needs-unit-tests => has-patch has-unit-tests


Comment:

 [attachment:25108.2.diff] uses @nacin's suggested changes and adds (my
 first!) unit test.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25108#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list