Closed
Bug 135984
Opened 24 years ago
Closed 24 years ago
mailto: URL with %20 in it screws up "to" field
Categories
(MailNews Core :: Networking, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: john, Assigned: antonio.xu)
References
()
Details
(Keywords: fixedOEM)
Attachments
(2 files, 1 obsolete file)
|
748 bytes,
patch
|
Details | Diff | Splinter Review | |
|
753 bytes,
patch
|
antonio.xu
:
review+
antonio.xu
:
superreview+
|
Details | Diff | Splinter Review |
STEPS TO REPRODUCE:
1. Type "mailto:a@b.com?to=c@d.com&body=a%20b" into the URL bar or click the
testcase URL.
EXPECTED RESULTS:
Two "To:" lines showing a@b.com and c@d.com
ACTUAL RESULTS:
One "To:" line showing: ""a\"@b.comc@d.com
Note that mailto:a@b.com?body=a%20b and
mailto:a@b.com?cc=y@y.com&cc=z@z.com&body=a%20b both work, so it appears to be
specific to "To:".
| Assignee | ||
Comment 1•24 years ago
|
||
hi mscott could you assign this bug to me?
| Assignee | ||
Comment 2•24 years ago
|
||
please assign this bug to me, i'm sure i can fix it.
| Assignee | ||
Comment 3•24 years ago
|
||
Hi Mscott,this is my fix for this bug,i know you are so busy,could you rv my
patch?Thank you.
| Assignee | ||
Comment 4•24 years ago
|
||
Somebody can rv my patch.
| Assignee | ||
Comment 5•24 years ago
|
||
my fix is only swich some lines,it is because when
ParseMailtoUrl(NS_CONST_CAST(char*, searchPart.get()));
run ,it will parse mailtourl object,if the url have "to",it will append a ","
and a mail address to m_topart,but now m_topart did not been cut some redundant
words,for example error is
m_toPart = ss@ss.com?to=ssds@as.com&body=sd
ParseMailtoUrl(NS_CONST_CAST(char*, searchPart.get())); finish
m_toPart = ss@ss.com?to=ssds@as.com&body=sd,ssds@as.com
m_toPart.Cut(startOfSearchPart, numExtraChars); run
it will have some error!because now m_toPart had been appended some words.
Comment 6•24 years ago
|
||
Comment on attachment 78316 [details] [diff] [review]
this is a new patch for this bug,please rv my patch
Looks fine to me. R=ducarroz
Attachment #78316 -
Flags: review+
| Assignee | ||
Comment 7•24 years ago
|
||
Who can super rv my patch?Thank you.
Comment 8•24 years ago
|
||
we'll end up with:
m_toPart.Cut(startOfSearchPart, numExtraChars);
// now we need to strip off the search part from the
// to part....
ParseMailtoUrl(NS_CONST_CAST(char*, searchPart.get()));
is the comment now in the wrong place?
| Assignee | ||
Comment 9•24 years ago
|
||
Thanks for Sspitzer's advice,i had changed the comment place,please rv my
patch.Thank you
Attachment #78316 -
Attachment is obsolete: true
Comment 10•24 years ago
|
||
I think what Seth meant is that the comment :
// now we need to strip off the search part from the
// to part....
should be before the line that does what the comment says, which I believe is
m_toPart.Cut(startOfSearchPart, numExtraChars);
so, it should look like this:
// now we need to strip off the search part from the
// to part....
m_toPart.Cut(startOfSearchPart, numExtraChars);
ParseMailtoUrl(NS_CONST_CAST(char*, searchPart.get()));
| Assignee | ||
Comment 11•24 years ago
|
||
please give me super rv ,thank you,it is really long time.
Comment 13•24 years ago
|
||
fix landed on trunk. thanks to antonio.xu@sun.com for the fix.
sorry for the delay, we've been busy with RC1.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 14•24 years ago
|
||
thanks for your help!
| Assignee | ||
Updated•23 years ago
|
Attachment #81097 -
Flags: superreview+
Attachment #81097 -
Flags: review+
| Assignee | ||
Comment 15•23 years ago
|
||
patch checked in NETSCAPE_7_0_OEM_BRANCH
Whiteboard: branchOEM+ → branchOEM+ fixedOEM
Comment 16•23 years ago
|
||
*** Bug 180397 has been marked as a duplicate of this bug. ***
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•