Closed Bug 376606 Opened 17 years ago Closed 17 years ago

Form Image Value

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 142089

People

(Reporter: kingepix, Unassigned)

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

<input type="image"> should NOT be submitted with a form if it were to have value="foo" appended. Firefox is the only browser which submits form data from this type of input.

Example:

<input type="image" src="baz.jpg" name="foo" value="bar"> will submit foo as bar in Firefox. But in all other browsers I tried it in, it won't.

Reproducible: Always

Steps to Reproduce:
Submit a form with <input type="image" src="image.jpg" name="foo" value="var"> init.
Actual Results:  
It was submitted.

Expected Results:  
Not be submitted.
This is by design and fits the html specification
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.