Closed Bug 269997 Opened 20 years ago Closed 20 years ago

Browser loads indefinitely upon finding <img src="/SOMEDIR/">

Categories

(Core :: DOM: HTML Parser, defect)

1.7 Branch
x86
Linux
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: nicola.canepa, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5

If i go to a page containing an "img src" (relative) tag pointing to a
directory, the browser (Mozilla 1.7.3 and Firefox 0.9.3) loads indefinitely,
consuming memory and CPU power.
Reported also on 0.99RC1.
Doesn't happen with external URLs.

Reproducible: Always
Steps to Reproduce:
1. create an HTML file containing: "<html><body><img src="/home/"></body></html>"
2. open the browser
3. load the file

Actual Results:  
Browser keeps loading the page and starts eating RAM (showing a broken image link)

Expected Results:  
Show a broken image link ant stop loading
Version: Trunk → 1.7 Branch
This seems like a dupe of bug 247039.
Attached file testcase
The same thing happened under Windows, but Firefox didn't eat any RAM. Also,
linking to an unused drive-letter (like X: or P:) didn't produce the bug.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107
Firefox/1.0
Worksforme with a current Linux trunk build.  Marking so, but please reopen if
the problem can be reproduced with a current trunk build (not Firefox 1.0 branch
or Mozilla 1.7 branch).
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: