Page MenuHomePhabricator

ernie (Michael)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Friday

  • Clear sailing ahead.

User Details

User Since
May 17 2017, 2:12 AM (82 w, 5 h)
Availability
Available

Recent Activity

Aug 1 2017

ofbeaton awarded T12718: Local email validation with apostrophe a Like token.
Aug 1 2017, 5:23 AM · Bug Report

May 17 2017

ernie updated the task description for T12718: Local email validation with apostrophe.
May 17 2017, 2:25 PM · Bug Report
ernie added a comment to T12718: Local email validation with apostrophe.

Okay, but just to point out: having an apostrophe in one's name is not that exotic...

  • O'Brien
  • O'Connor
  • D'Angelo
  • O'Dowd
  • O'Malley
  • O'Hara
  • D'Arcy
  • D'Addario

So someone could quite conceivably have Chris.O'Dowd@BBC.co.uk or something like that.
Anyway, if anyone's looking for how to get around this in the future, an alternate solution to changing PhabricatorUserEmail.php would be to go into the DB phabricator_user, in table user_email, and change it directly in there, thus bypassing validation.
If you did want to change the code, though, look into http://php.net/manual/en/filter.examples.validation.php - FILTER_VALIDATE_EMAIL and FILTER_SANITIZE_EMAIL.

May 17 2017, 4:22 AM · Bug Report
ernie updated the task description for T12718: Local email validation with apostrophe.
May 17 2017, 3:45 AM · Bug Report
ernie created T12718: Local email validation with apostrophe.
May 17 2017, 3:28 AM · Bug Report