Closed
Bug 118995
Opened 23 years ago
Closed 23 years ago
URL: links with non-ascii characters fail to work in Mozilla 0.9.7
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
VERIFIED
FIXED
People
(Reporter: Dan.Oscarsson, Assigned: neeti)
References
Details
(Keywords: regression, testcase)
Attachments
(2 files)
(deleted),
text/html
|
Details | |
(deleted),
patch
|
brendan
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
Note: This fails in Mozilla 0.9.7 build using Sun's Forte 6 update 2 compilers
on a Sun Ultrasparc system using full optimization. It worked fine
in 0.9.6 built using the same compilers.
If you have a web page like this:
<html>
<head>
<title>X</title>
</head>
<body>
<A href='inställningar'>Inställningar</A>
<BR>
<A href='installningar'>Inställningar</A>
</body>
</html>
The first link does not work. It is not underlined, it cannot be activated.
It looks like text.
Tests show that removing the non-ASCII character as in the second
link in the above page, it works as usual. So it looks like between
version 0.9.6 and 0.9.7 something was changed so that Mozilla no
longer can handle non-ASCII in URLs.
This makes our site unusable.
Sometimes links with non-ascii characters work, and later suddenly
gets corrupted after some reloads or back/forward between pages. It is
probably chached pages that fails.
Unless the above failure is due to my using very high optimisation (-xO5 -fast)
when compiling, this need to be fixed before Mozilla can be used again.
Comment 1•23 years ago
|
||
Interesting... DOM Inspector shows the <A> node with that text inside, but the
list of style rules applied to that node does not include the *:link and
*:-moz-any-link rules....
Comment 2•23 years ago
|
||
It's not merely the presence of the character -- it must be in the first part of
the URL, or something like that. If I add "http://www.foo.com/" to the
beginning of the URL, the link is recognized. I wonder if something got messed
up in NS_MakeAbsoluteURIWithCharset that caused nsILink::GetHrefCString to
return null? Could this be related to the changes for bug 102656?
Comment 3•23 years ago
|
||
Comment 4•23 years ago
|
||
Yes, this is a regression from the patch to bug 102656.
Comment 5•23 years ago
|
||
Is this bug assigned to the right person? William and/or darin, can you help
unregress?
/be
Comment 6•23 years ago
|
||
*** Bug 119120 has been marked as a duplicate of this bug. ***
Comment 7•23 years ago
|
||
Dupe was Win98. Seeing also on Linux.
Setting Platform: All, OS: All
OS: Solaris → All
Hardware: Sun → All
Updated•23 years ago
|
Keywords: regression
Comment 8•23 years ago
|
||
pushing over to Networking, who regressed this.
Assignee: attinasi → neeti
Component: Layout → Networking
Keywords: testcase
QA Contact: petersen → benc
With the given test case, the following line is reached, i.e. NS_NewURI has
failed, presumably due to it being a non-absolute url (but ExtractUrlPart() did
succeed).
http://lxr.mozilla.org/seamonkey/source/content/shared/src/nsHTMLUtils.cpp#101
How about doing away with the ExtractUrlPart and return NS_OK when NS_NewURI fails.
Keywords: testcase
QA Contact: benc → petersen
Comment 10•23 years ago
|
||
We still need the ExtractUrlPart, changing the return values to NS_OK works.
Comment 11•23 years ago
|
||
Comment on attachment 64330 [details] [diff] [review]
fixes regression
sr=darin
of course!! thanks william :-)
Attachment #64330 -
Flags: superreview+
Comment 12•23 years ago
|
||
Comment on attachment 64330 [details] [diff] [review]
fixes regression
r=brendan@mozilla.org -- darin, can you check in?
/be
Attachment #64330 -
Flags: review+
Comment 13•23 years ago
|
||
fixed-on-trunk
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 14•23 years ago
|
||
*** Bug 120295 has been marked as a duplicate of this bug. ***
Comment 15•22 years ago
|
||
VERIFIED:
mozilla 1.1, win 98.
single plat verification b/c this is untargeted.
will becomea testcase.
Status: RESOLVED → VERIFIED
Keywords: testcase
QA Contact: petersen → benc
Summary: links with non-ascii characters fail to work in Mozilla 0.9.7 → URL: links with non-ascii characters fail to work in Mozilla 0.9.7
You need to log in
before you can comment on or make changes to this bug.
Description
•