Closed
Bug 102701
Opened 23 years ago
Closed 15 years ago
Need to revisit String usage after iDNS landing
Categories
(Core :: XPCOM, defect, P3)
Core
XPCOM
Tracking
()
RESOLVED
INCOMPLETE
mozilla1.0.1
People
(Reporter: tetsuroy, Assigned: tetsuroy)
References
()
Details
I see the code segment char* urlStr = url.ToNewCString()
where urlStr may get corrupted if url contains non-ascii DNS. ( see above URL )
Comment 1•23 years ago
|
||
the iDNS checkin did not change anything having to do with the way URLs are
stored. the URL parts are UTF8, though there are some bugs in which portions
of the URL (in particular the hostname) are treated as ASCII. so, i suspect
that this bug can be marked INVALID.
Assignee | ||
Comment 2•23 years ago
|
||
darin: thanks for your input. I'll verify it.
== assign to myself
Assignee: scc → yokoyama
Please see a related bug 102656.
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.5
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Comment 4•23 years ago
|
||
P3. Mark as m1.0
Priority: -- → P3
Target Milestone: mozilla0.9.6 → mozilla1.0
This led me to do some testing.
I loaded http://playground.i-dns.net/mozilla/samples/jpsjis.html and
dragged one of the URLs onto the desktop to create a shortcut. The location
shown is url-escaped (%XX), which is good. But it is the raw SJIS values.
And since internet shortcuts do not have a charset associated with them, it is
impossible to recover the UTF8 from it. Maybe we should do something similar
to bug 102656, i.e. convert the hostname part into UTF8 first before creating
the shortcut?
Okay I realize that this is slightly different from the title of this bug, but
still related. But this means that if internet shortcuts were created as url
escaped UTF8-hostname then we're fine.
Interestingly, dragging the URL back into Mozilla is fine, because XPIDN does
the encoding detection.
CC: nhotta@netscape.com
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla1.0 → mozilla0.9.7
Assignee | ||
Comment 6•23 years ago
|
||
I'll wait unitl bug 102656 gets checked in.
Depends on: 102656
Target Milestone: mozilla0.9.7 → mozilla0.9.8
Updated•15 years ago
|
QA Contact: scc → string
Updated•15 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
Updated•4 years ago
|
Component: String → XPCOM
You need to log in
before you can comment on or make changes to this bug.
Description
•