Closed
Bug 243452
Opened 22 years ago
Closed 19 years ago
Pre-1.7b mozilla browsers hang if '//' is entered in the URL bar
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: darin.moz, Assigned: darin.moz)
Details
Attachments
(2 files)
|
1.52 KB,
patch
|
dbaron
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
|
1002 bytes,
patch
|
Details | Diff | Splinter Review |
Pre-1.7b mozilla browsers hang if '//' is entered in the URL bar.
The recent string branch landing (see bug 231995) that went in prior to 1.7b
fixed this bug. The original bug report for the trunk was bug 185663, which is
currently resolved WORKSFORME (no apparent connection was made to bug 231995).
Folks making releases off the 1.6 branch or 1.4 branch may want this bug fixed
as well, but they certainly would not want to take the entire patch for bug 231995.
So, this bug is about making a focused patch for older branches.
| Assignee | ||
Comment 1•22 years ago
|
||
Attachment #148345 -
Flags: superreview?(dbaron)
Attachment #148345 -
Flags: review?(dbaron)
Why not use nsAString::Insert?
Comment on attachment 148345 [details] [diff] [review]
patch
(but if you don't want to do testing again, this does work, so r+sr=dbaron.
Likewise for .Insert(NS_LITERAL_CSTRING("http://"), 0), etc.)
Attachment #148345 -
Flags: superreview?(dbaron)
Attachment #148345 -
Flags: superreview+
Attachment #148345 -
Flags: review?(dbaron)
Attachment #148345 -
Flags: review+
Comment 4•22 years ago
|
||
I added the original patch to a Mozilla 1.4 build and the line
temp = NS_LITERAL_STRING("ftp://") + uriString;
fails to compile on AIX with the error message "The call does not match any
paramter list for operator+".
Changing the declaration for temp from nsCAutoString to nsAutoString fixes the
problem. That's because in the 1.4 version of the code, uriString is
nsAutoString and not nsCAutoString.
Comment 5•22 years ago
|
||
Darin, please get this patch to the 1.4 branch and close out this bug.
Thanks
| Assignee | ||
Updated•19 years ago
|
Assignee: darin → nobody
QA Contact: string
darin: you're the only person who understands this bug, please address the last comments :(
(yes, this goes against my own beliefs of being able to get rid of bugs that i don't care about, but, iirc your change was a mass change so, i'd be nice to get your view here.
note: if you tell me to stop touching your bugs, I'll gladly ignore all bugs you touch, i'm at a point where i'm likely to start ignoring all bugs anyway.)
Assignee: nobody → darin
Comment 7•19 years ago
|
||
I don't think anyone cares about 1.4 anymore, so I'll close this.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
Updated•5 years ago
|
Component: String → XPCOM
You need to log in
before you can comment on or make changes to this bug.
Description
•