Update subject handling and GenericSendMessage function in compose window
Categories
(SeaMonkey :: MailNews: Composition, enhancement)
Tracking
(seamonkey2.53+ fixed, seamonkey2.57esr? affected)
People
(Reporter: iannbugzilla, Assigned: iannbugzilla)
References
Details
(Whiteboard: SM2.53.8)
Attachments
(1 file, 1 obsolete file)
20.83 KB,
patch
|
iannbugzilla
:
review+
iannbugzilla
:
approval-comm-release+
iannbugzilla
:
approval-comm-esr60+
|
Details | Diff | Splinter Review |
Port to SeaMonkey the relevant parts of the following bugs:
- Bug 367698 - avoid pre-populating "(no subject)" text in subject box.
- Bug 389650 - "Unable to save your message as a draft" and "Assembling mail information" when replying to forwarded attached .eml message.
- Bug 384842 - Specially crafted subject lines (certain length, space at the end) generated invalid mail headers.
[Approval Request Comment]
Regression caused by (bug #): n/a
User impact if declined: Chance of generating invalid headers
Testing completed (on m-c, etc.): 2.53.7
Risk to taking this patch (and alternatives if risky): none
String changes made by this patch: 4 new strings, 2 strings removed
Comment 2•3 years ago
|
||
Comment on attachment 9204397 [details] [diff] [review]
1693994-genericsendmessage-2538.patch
LGTM
nits
+ var servertype = account.incomingServer.type;
+
+ if (servertype != "nntp" && msgCompFields.newsgroups != "") {
servertype in only used here so could be used directly. See corresponding mail file.
+ gAutoSaving = msgType == Ci.nsIMsgCompDeliverMode.AutoSaveAsDraft;
Could use brackets around the comparision for readability. See corresponding mail file.
Revised as suggested.
Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/4c65b79798e1
Update subject handling and GenericSendMessage function in compose window. r=frg
Updated•3 years ago
|
Comment 5•3 years ago
|
||
https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/2ac9c3b1aa8f5afafdd800bc31e791e7d1100431
Update subject handling and GenericSendMessage function in compose window. r=frg a=frg
Description
•