Closed Bug 374777 Opened 17 years ago Closed 17 years ago

When rendering an <img> tag with an empty src attribute (<img src="">), Firefox instead loads the page containing the empty tag as the image source.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 225554

People

(Reporter: carls, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

(Please see the link!)
In short:
   1. self.php is loaded and renders a <img src=""> tag
   2. Firefox requests self.php again as the value of the empty src attribute, virtually resulting in that <img src=""> turns into <img src="self.php">
   3. self.php checks if it refers to itself and if so, displays an image instead of this HTML code.


Reproducible: Always

Steps to Reproduce:
1. Check the link

Actual Results:  
self.php is requested as the image source

Expected Results:  
no image source should be requested
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.