Closed Bug 157252 Opened 22 years ago Closed 22 years ago

Links result in load of the wrong page

Categories

(Core :: DOM: HTML Parser, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 139626

People

(Reporter: sharding, Assigned: harishd)

References

()

Details

The links on http://www.cutlery.com/shop/tools/ should all go to different
sections of the site. For example, the "Utensils" link is supposed to go to
http://www.shopping.cutlery.com/*ws4d-db-query.ws4d?Condition=is&%5BeProducts%5DStoreFrontID=1&Condition=and&Condition=is&%5BeProducts%5DManufacturer=%5BAll+Brands%5D&Condition=is&%5BeProducts%5DCategory=%5BAll+Categories%5D&Condition=and&Condition=keyword+search&%5Beproducts%5DKey=&Condition=is&%5Beproducts%5DSKU=WTEPCUS%3B+WTE16SS%3B+WTE14HSS%3B+WTE14HS%3B+WRSCTRF%3B+WIT145%3B+WIT144%3B+WIT143%3B+WAC6PCWR%3B+WAC6PSWC%3B+WACFORK%3B+Wlsst%3B+WACLDL%3B+WACLSLDL%3B+WACLSTNR%3B+WACPLDL%3B+WACSKM%3B+WACSLSPN%3B+WACSMTNR%3B+WACSSPN%3B+WBSSLSQ%3B+WBSSTSQS%3B+WGLSLFSP%3B+WGLOST%3B+WGLOSSP%3B+WJKTONGS%3B+WLST%3B+WLSSSW%3B+WLSSSB%3B+WLSSCT%3B+WLSPT%3B+WLSPFT%3B+WLSOS%3B+WLSBFS%3B+WIS35T%3B+WLS35ST%3B+WLS24T%3B+WLS24ST%3B+WLS211%3B+WLS210%3B+WLS209%3B+WLSBGSS%3B+WLSRWSS%3B+WMSSPOON%3B+WMM129%3B+WMM128%3B+WWU107%3B+WLSRLS%3B+WLSBGLS%3B+WIT102&SortBy=%5BeProducts%5DManufacturer%3BA&SortBy=%5BeProducts%5DSKU%3BA&SortBy2=%5BeProducts%5DSubcategory%3BA&SortBy2=%5BeProducts%5DSKU%3BA&RecordsPerPage=10&Database=eProducts&BreakTable=10&Page=0&LinkField=%5BeProducts%5DSKU&Results=results.html&Results-1-Record=results%28S%29.html&Results-Table=results.table&Table-Color-Even=%23BDB76B&Table-Color-Odd=%23EEE8AA&Show+Matching+Items.x=79&Show+M
The HTML for that link from the page is a plain href for that URL. However,
clicking on the text "Utensils" results in Mozilla loading
http://www.cutlery.com/shop/cutlery/cutlery.html

When hovering over the link, Mozilla shows
"http://www.cutlery.com/shop/cutlery/cutlery.html" as the URL. However, if I do
"Copy Link Location," I get the correct URL in the paste buffer. And if I do
"Open Link in New Window" or "Open Link in New Tab," Mozilla loads the correct URL. 

There are many problems with the HTML on that site. I wouldn't be surprised if
one of them were triggering this problem. However, I believe that there is still
at least one bug in Mozilla here. At the very least, clicking the link and "Open
in New Tab/Window" should load the same URL. And (absent Javascript tricks),
hovering over the link should show the URL that will be loaded.

This is being observed on build 2002062303 on MacOS X 10.1.5 and has also been
seen in a build from 20020701 on FreeBSD. Therefore, platform and OS == All.
Confirming bug on a 2002071008. http://www.cutlery.com/shop/cutlery/cutlery.html
isn't even found in the page HTML. Doesn't look like TE to me.
-> NEW? [stalling. anyone think this is TE? building a testcase...]
-> Parser
Assignee: Matti → harishd
Status: UNCONFIRMED → NEW
Component: Browser-General → Parser
Ever confirmed: true
QA Contact: asa → moied
Building testcase not fruitful. Vacation starts tomorrow, so I won't have computer
access. Whoever wants to build one is free to do so.
Component: Parser → Browser-General
Component: Browser-General → Parser
There's an unclosed link tag in there, "<a href="../cutlery/cutlery.html">" that
encloses the entire table. harishd, are we supposed to be doing some sort of
fixup to avoid nested <a>, or is this Tech Evang?
Again, even if it's an error in the HTML (which is what I expect), Mozilla
really should be behaving more consistently -- clicking the link and opening it
in a new tab or window should result in loading the same URL. And copy link
location should result in that URL going into the paste buffer. Yet, these
things don't happen like that.
Did somebody say unclosed <a> tags??
-> Dupe 139626
Please reopen if you disagree.

*** This bug has been marked as a duplicate of 139626 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.