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

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 #359

Merged
merged 1 commit into from
Jan 21, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
}
}
}