Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Bug 1116728 - [Flame][Email]When sending email to several recipients …
Browse files Browse the repository at this point in the history
…whose addresses are separated by semicolon, the email can’t be sent successfully. r=andris9

land mozilla-b2g/gaia-email-libs-and-more#359
  • Loading branch information
asutherland authored and rvandermeulen committed Apr 3, 2015
1 parent 3e0500e commit e907f95
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion apps/email/js/ext/ext/addressparser.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,15 @@
"(": ")",
"<": ">",
",": "",
":": ";"
// Groups are ended by semicolons
":": ";",
// Semicolons are not a legal delimiter per the RFC2822 grammar other
// than for terminating a group, but they are also not valid for any
// other use in this context. Given that some mail clients have
// historically allowed the semicolon as a delimiter equivalent to the
// comma in their UI, it makes sense to treat them the same as a comma
// when used outside of a group.
";": ""
};

/**
Expand Down

0 comments on commit e907f95

Please sign in to comment.