Closed
Bug 231664
Opened 22 years ago
Closed 22 years ago
Image Button info not submitted when image is not available
Categories
(Toolkit :: Form Manager, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 122238
People
(Reporter: yair.lenga, Assigned: dveditz)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007
Mozilla does not submit button.x and button.y values when <input type=image> is
specified, and the image file (src=...) does not exist. For example:
<html>
<body>
<form method=post action="/cgi-bin/printenv">
<checkbox type=checkbox name=select value="d_u1.txt" /> u1
<checkbox type=checkbox name=select value="d_u2.txt" /> u2
<checkbox type=checkbox name=select value="d_u3.txt" /> u3
<checkbox type=checkbox name=select value="d_u4.txt" /> u4
<input type="image" name="mdel" src="IMAGE.gif" alt="Delete Selected Files" />
</form>
</body>
</html>
will result in the following Query String (Post):
select=d_u2.txt&select=d_u3.txt
Reproducible: Always
Steps to Reproduce:
1. Place the above example in file.html
2. Place the apaceh printenv (or test-cgi) in /cgi-bin
3. Submit the form.
4. Query String does not include mdel.x or mdel.y
5. Create IMAGE.gif
6. Submit the form
7. Query String contain mdel.x and mdel.y
Expected Results:
The correct result (when image file exists):
QS=select=d_u2.txt&select=d_u3.txt&mdel.x=46&mdel.y=2
Comment 1•22 years ago
|
||
*** This bug has been marked as a duplicate of 122238 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•