Closed
Bug 278663
Opened 20 years ago
Closed 18 years ago
cite attribute of blockquote misses colon in URL
Categories
(MailNews Core :: MIME, defect)
MailNews Core
MIME
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.8.1
People
(Reporter: BenB, Assigned: mkmelin)
References
Details
(Keywords: fixed1.8.1)
Attachments
(1 file)
724 bytes,
patch
|
Bienvenu
:
review+
Bienvenu
:
superreview+
beltzner
:
approval1.8.1+
|
Details | Diff | Splinter Review |
Reproduction:
1. Reply to mail using HTML editor, with quote, send as HTML
2. Look at source code of sent msg
Actual result:
<blockquote cite="mida3d199f004123010006f9935cf@mail.gmail.com"
type="cite">
Expected result:
<blockquote cite="mid:a3d199f004123010006f9935cf@mail.gmail.com"
type="cite">
Reporter | ||
Comment 1•20 years ago
|
||
hm, I have no idea where that even comes from. I thought it's from mimetpla.cpp,
but I can't see any cite attribute being added there (only type="cite", which is
something else).
Comment 2•20 years ago
|
||
nsHTMLEditor::InsertAsCitedQuotation inserts the cite string
(cite="blahblah"):http://lxr.mozilla.org/seamonkey/source/editor/libeditor/html/nsHTMLDataTransfer.cpp#2342
But the cite string (the thing with the mid:) is passed in to that routine.
Looks like it's mCiteReference in nsMsgCompose::ConvertAndLoadComposeWindow:
http://lxr.mozilla.org/seamonkey/source/mailnews/compose/src/nsMsgCompose.cpp#509
The mid: may come from here:
http://lxr.mozilla.org/seamonkey/source/mailnews/compose/src/nsMsgCompose.cpp#1795
or it might already be in myGetter. I don't know that code, but that's probably
the place to start looking.
Assignee | ||
Comment 3•18 years ago
|
||
*** Bug 185562 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 4•18 years ago
|
||
Yeah, originally it was "mid:", but it seems the colon accidentially got removed in bug 109179.
I have a patch to make us follow rfc 2111 again.
Assignee | ||
Comment 5•18 years ago
|
||
Add back the colon in the ULR, so we get mid:messageid, not midmessageid in blockquote href.
Assignee: ben.bucksch → mkmelin+mozilla
Status: NEW → ASSIGNED
Attachment #241344 -
Flags: superreview?
Attachment #241344 -
Flags: review?
Assignee | ||
Updated•18 years ago
|
Attachment #241344 -
Flags: superreview?(bienvenu)
Attachment #241344 -
Flags: superreview?
Attachment #241344 -
Flags: review?(bienvenu)
Attachment #241344 -
Flags: review?
Comment 6•18 years ago
|
||
Comment on attachment 241344 [details] [diff] [review]
proposed fix: add back the colon for mid:
thx
Attachment #241344 -
Flags: superreview?(bienvenu)
Attachment #241344 -
Flags: superreview+
Attachment #241344 -
Flags: review?(bienvenu)
Attachment #241344 -
Flags: review+
Assignee | ||
Updated•18 years ago
|
Whiteboard: [checkin needed]
Comment 7•18 years ago
|
||
mozilla/mailnews/compose/src/nsMsgCompose.cpp 1.495
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Target Milestone: --- → mozilla1.9alpha
Comment 8•18 years ago
|
||
Comment on attachment 241344 [details] [diff] [review]
proposed fix: add back the colon for mid:
This is a small, simple, and useful patch. I'll ask for 1.8.1, and if denied, I'll ask for 1.8.1.1.
Attachment #241344 -
Flags: approval1.8.1?
Comment 9•18 years ago
|
||
Comment on attachment 241344 [details] [diff] [review]
proposed fix: add back the colon for mid:
a=beltzner on behalf of drivers for the 1.8.1 branch (mailnews only)
Attachment #241344 -
Flags: approval1.8.1? → approval1.8.1+
Assignee | ||
Updated•18 years ago
|
Whiteboard: [checkin needed (1.8 branch)]
Comment 10•18 years ago
|
||
mozilla/mailnews/compose/src/nsMsgCompose.cpp 1.460.2.24
Keywords: fixed1.8.1
Whiteboard: [checkin needed (1.8 branch)]
Target Milestone: mozilla1.9alpha → mozilla1.8.1
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•