Closed Bug 357103 Opened 20 years ago Closed 19 years ago

pages with image with empty source loads twice

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 225554

People

(Reporter: moritz.daan, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 A page with <img src=""> loads twice. Reproducible: Always Steps to Reproduce: 1. Create a PHP (or any other server-side scripting) page with following content: <img src=""> <?php $handle = fopen("output.txt", 'a'); fwrite($handle, 1); fclose($handle); ?> 2. Load the page in your browser and see that two times a 1 is added to output.txt 3. Now change <img src=""> to <img src="empty"> and reload the page, see now that only one time a 1 is added to output.txt. Actual Results: Load a page with <img src=""> two times Expected Results: Load a page with <img src=""> only one time. This occured in 1.5, 2.0 RC3 and 2.0 RC3. I reported it as major, because unlike a refresh (with POST-variables included) it doesn't ask if the user wants to send the data again. This means that a purchase method with a tag like <img src=""> may be accessed twice without the user knowing it.
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.