Closed
Bug 366552
Opened 19 years ago
Closed 19 years ago
Empty src attribut in img elements leads to unecessary (and potentially harmful) loading of the containing document
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 225554
People
(Reporter: b, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.0.9) Gecko/20061206 Firefox/1.5.0.9
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.0.9) Gecko/20061206 Firefox/1.5.0.9
When Loading a page which has img elements with empty src attributes (for whatever reason), and HTTP requets using the URL of the containg document is called once more for each.
This could be harmful in the case of a page with sumbission information (sent more than once).
Reproducible: Always
Steps to Reproduce:
1. Install Live HTTP Headers
2. Go to http://www.habegger.fr/firefox.html
3. Chekc that 4 HTTP request for the page have been sent
Actual Results:
4 HTTP request
Expected Results:
Only one HTTP request for the page should be sent
An empty src attribute in an iframe does not produce the same result.
Comment 1•19 years ago
|
||
URL is 404
Comment 2•19 years ago
|
||
Despite being in the wrong Product/Component (it's really an invalid HTML Parser or DOM non-bug), my favorite for duping these has always been bug 225554, for the explanations in it.
(Not only would <iframe src=""> not offer any options for content-negotiation, since you'd be asking for the same HTML you found it in, it would be a rather too-obvious source of infinite recursion.)
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•