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

Commit

Permalink
Merge pull request #359 from asutherland/addressparser-semicolon
Browse files Browse the repository at this point in the history
Bug 1116728 - [Flame][Email]When sending email to several recipients whose addresses are separated by semicolon, the email can’t be sent successfully. r=andris9
  • Loading branch information
asutherland committed Jan 21, 2015
2 parents 23953e6 + 8d963fe commit ca69a3a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion js/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
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
"mailbuild": "github:whiteout-io/mailbuild/v0.3.7",
"browserbox-imap": "github:whiteout-io/browserbox/v0.4.0#src/browserbox-imap.js",
"mimeparser-tzabbr": "github:whiteout-io/mimeparser/v0.3.8#src/mimeparser-tzabbr.js",
"addressparser": "github:whiteout-io/addressparser/v0.1.3",
"addressparser": "github:whiteout-io/addressparser/e5c9c0c985caa5a740cd7863370929e3e1611077",
"mimetypes": "github:whiteout-io/mimetypes/v0.1.1",
"punycode": "github:bestiejs/punycode.js/v1.2.4"
}
}
}
}

0 comments on commit ca69a3a

Please sign in to comment.