Unofficial Allow full RFC Email registrations in Phabricator
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Unofficial Allow full RFC Email registrations in Phabricator.

Some users have characters in their email addresses that are disallowed in upstream Phabricator despite being valid RFC 5322 email addresses.

For example, any Irish person with an apostrophe in their name (O'Brien, O'Connor, D'Angelo, etc)


cd phabricator
git apply rfcemail.patch


Aim to make the least changes possible. This is why we only replace the regular expression.

Checkout Phabricator. Make two copies of the phabricator subdir, a and b. Make your changes to b.

git patch a b > rfcemail.patch

Send in a PR, please make sure to include from what date onwards it is good for.


As of 2017-05-17 there is no interest from upstream in fixing this bug, calling them technically-deliverable-but-bizzarely-exotic addresses. Phacility instead recommends you maintain a patch yourself. This is that patch.

PHP Validation

For whatever reason upstream chose not use php builtin filter_var($email, FILTER_VALIDATE_EMAIL) and filter_var($email, FILTER_SANITIZE_EMAIL). This patch maintains that decision as to incur less code changes, but expands the regular expression.