MantisBT: master bb5da6b6

Author Committer Branch Timestamp Parent
dregad dregad master 2015-04-04 08:17 master 4c3ce1a2
Affected Issues  0017275: email matching within Mantis should follow html5 standard
 0017279: Email addresses validation and parsing is not consistent
Changeset

Use standard HTML5 regex in email_regex_simple()

A future improvement for this would be to retrieve the regex from the
PHPMailer library to ensure we are guaranteed consistent behavior for
our handling of e-mails, but this is currently not possible since the
regexes are hardcoded in PHPMailer's validateAddress() method.

Fixes 0017275, 0017279

mod - core/email_api.php Diff File