Skip to content

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 committed Jan 21, 2015
1 parent 5e98dc1 commit ecd44ec
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 ecd44ec

Please sign in to comment.