Closed
Bug 265799
Opened 20 years ago
Closed 19 years ago
page gets requested twice on empty href in css link
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 106912
People
(Reporter: borgar, Assigned: bugzilla)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.8
Including this code <link href="" rel="stylesheet" type="text/css" /> in a page
will make Firefox request the page URL again.
Reproducible: Always
Steps to Reproduce:
1. Save out this code to a webserver under your control:
<html>
<head>
<title>Bug or feature?</title>
<link rel="stylesheet" type="text/css" href="default.css" title="Default
Style" />
<link rel="stylesheet" type="text/css" href="" title="Re-requests page" />
</head>
<body>
<p>Bug or feature?</p>
</body>
</html>
2. Navigate to it with Firefox.
Actual Results:
Logfiles (and packet sniffers) show requests for foo.html, default.css, and then
foo.html again.
Expected Results:
Browser should either detect that the URL has been loaded in this "hit" and
parse the downloaded one (as it should if I were to include, in a single file,
two CSS links to the same URL). OR it should detect that the link is empty and
do nothing.
Comment 1•20 years ago
|
||
This is what should happen. See bug 263980 comment 1. *** This bug has been marked as a duplicate of 263980 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•19 years ago
|
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Comment 2•19 years ago
|
||
*** This bug has been marked as a duplicate of 106912 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago → 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•