Closed
Bug 43509
Opened 24 years ago
Closed 23 years ago
|nsString::ReplaceSubstring| replaces all chars after a match
Categories
(Core :: XPCOM, defect, P3)
Tracking
()
mozilla0.9.2
People
(Reporter: BenB, Assigned: scc)
References
Details
Reproduction:
nsString mCiteReference;
mCiteReference.AssignWithConversion("mid:A1/CC04netscapecom");
mCiteReference.ReplaceSubstring(NS_ConvertToString("/"),
NS_ConvertToString("%2F"));
Actual result:
mCiteReference holds "mid:A1%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F"
Expected result:
mCiteReference holds "mid:A1%2FCC04netscapecom"
rickg on sabbatical, setting assignee to syd since he has related bug. syd,
please correct if you are the wrong person.
Assignee: rickg → syd
Comment 3•24 years ago
|
||
CC:ing scc@mozilla.org since this is a string issue, and there has been no
activity in this bug since it was filed in june.
Updated•24 years ago
|
QA Contact: leger → kandrot
Comment 4•24 years ago
|
||
Reassigning to scc since syd hasn't looked at it and it's not on his table
anyway. Changing component to string.
Assignee: syd → scc
Component: XPCOM → String
QA Contact: kandrot → scc
Assignee | ||
Updated•24 years ago
|
Target Milestone: --- → mozilla0.9
Assignee | ||
Comment 5•24 years ago
|
||
These are the 0.9 bugs that didn't make it, and that I intend to fix in 0.9.1
Target Milestone: mozilla0.9 → mozilla0.9.1
Assignee | ||
Comment 6•23 years ago
|
||
re-targeting milestones, starting from a clean slate
Target Milestone: mozilla0.9.1 → ---
Assignee | ||
Comment 7•23 years ago
|
||
marking the functionality blockers for immediate attention in mozilla0.9.1
Target Milestone: --- → mozilla0.9.1
Comment 8•23 years ago
|
||
if it hasn't landed, let's land this in 0.9.2. let drivers know if this creates
problems. thanks.
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Assignee | ||
Comment 9•23 years ago
|
||
The fix to this bug is that we're going to replace the entire implementation of
|ReplaceSubstring| with the new |nsSubstituteC?String| generator. See bug
#82456. There's no perfect way to mark this bug for this resolution (it's not
FIXED yet, it's not INVALID, it's not WONTFIX). We'll settle for making it a
dup of the new bug.
*** This bug has been marked as a duplicate of 82456 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Updated•4 years ago
|
Component: String → XPCOM
You need to log in
before you can comment on or make changes to this bug.
Description
•