Closed Bug 45250 Opened 24 years ago Closed 24 years ago

Anchors with comma in name don't work

Categories

(Core :: Layout, defect, P3)

x86
All
defect

Tracking

()

VERIFIED DUPLICATE of bug 29080

People

(Reporter: awd42_007, Assigned: waterson)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)
BuildID:    2000061311

Mozilla does not follow a target if the link contains a comma.

Reproducible: Always
Steps to Reproduce:
1. In the Java Documentation page, clicking on a class (for example, "String") 
in the lower left frame brings up the document in the main frame.  This has a 
list of methods, constructors, etc. that are href's to anchors further down the 
page.  
2. Mozilla does not follow the link if it contains a comma
3. for example, 'lastIndexOf(String Str)' works but 'lastIndexOf(String str, 
int fromIndex)' does not.  

Actual Results:  	Nothing happens when the link is clicked.		
				

Expected Results:  	The link should have been followed.			
			

	It is not a Frameset issue--viewing the NoFrames version causes the 
same problem.  I'm not sure if commas are allowed in URL strings, but the page 
works correctly in both IE5 and NS4.73.
Confirmed on Linux 2000071215 as well, but not every link with commas will show
this bug.  This may be related to bug 45143.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows NT → All

*** This bug has been marked as a duplicate of 45143 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Reopening, this is clearly not a duplicate of bug 45143.

In bug 45143, the URL for the refresh got cut after a , in the URL. Here, the
bits after the comma stay. Try to open that link in a new window and you'll see
it's
http://java.sun.com/products/jdk/1.2/docs/api/java/lang/String.html#lastIndexOf(java.lang.String,%20int)
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Triaging clayton's list:
-------------------------

Able to reproduce the problem.  Reassigning but to waterson.  
Assignee: clayton → waterson
Status: REOPENED → NEW
Dup of 29080: layout is computing the correct URL, but it's getting escaped 
when it's put into the URL bar.

*** This bug has been marked as a duplicate of 29080 ***
Status: NEW → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → DUPLICATE
massive update for QA contact.
QA Contact: petersen → lorca
Harish-we shouldn't be assigning "but"s to anyone, including waterson.:)  I can 
see HR knocking on my door now, hold on...

Seriously, marking VERIFIED.
Status: RESOLVED → VERIFIED
SPAM. HTML Element component deprecated, changing component to Layout. See bug
88132 for details.
Component: HTML Element → Layout
You need to log in before you can comment on or make changes to this bug.