Opened 3 years ago

Closed 3 years ago

#14628 closed defect (bug) (fixed)

sanitize_email() broken

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

Description

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) "ozh@ozh.org"

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

ozh3 years ago

comment:1   ozh3 years ago

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

comment:3   ryan3 years ago

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