Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#14628 closed defect (bug) (fixed)

sanitize_email() broken

Reported by: ozh's profile ozh Owned by:
Milestone: 3.1 Priority: normal
Severity: trivial Version: 3.1
Component: Formatting Keywords: has-patch commit
Focuses: Cc:


sanitize_email() does not sanitize as expected because of typo in regexp

var_dump( sanitize_email( 'ozh@(ozh).org' ) );

Before patch:

string(13) "ozh@(ozh).org"

After patch:

string(11) ""

Attachments (1)

validate_email.diff (458 bytes) - added by ozh 13 years ago.

Download all attachments as: .zip

Change History (4)

13 years ago

#1 @ozh
13 years ago

  • Version set to 3.1

#2 @nacin
13 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.1

#3 @ryan
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.