Closed
Bug 644138
Opened 14 years ago
Closed 14 years ago
No POST variable for set <input type=image> variable
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 619285
People
(Reporter: t.kleinke, Unassigned)
References
()
Details
(Keywords: regression, testcase)
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0
Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0
No POST variable will be generated for a variable definied in a <INPUT TYPE=IMAGE> tag like this:
<input type=image src=image.gif title='text' name=variable1 value='123'>
This error occured with the new Firefox 4.0 version, older Firefox versions and other curretn browser versions work properly.
Reproducible: Always
Steps to Reproduce:
1. Go to http://eoa1.de/test/test.html
2. Click on icon
3. All POST variables will be displayed. Recommended variable: "variable1 => 123"
Use these two scripts for reproduction:
test.html
=========
<html>
<body>
<form method=post action='action.php'>
<input type=hidden name='hidden' value='567'>
<input type=image src=http://www.software-dungeon.co.uk/icons/105234_freeicons.jpg title='text' name=variable1 value='123'> <-- click here
</form>
</body>
</html>
action.php
==========
<html>
<body>
<b>Recommended:</b><br>
hidden => 567<br>
variable1_x => 16<br>
variable1_y => 13<br>
variable1 => 123<br>
<b>Current browser:</b><br>
<?
foreach($_POST as $key => $value)
{
echo "$key => $value<br>\n";
}
?>
<a href=http://eoa1.de/test/test.html>Back</a>
</body>
</html>
Summary: <input type=image src=image.gif title='text' name=variable1 value='123'> → No POST variable for set <input type=image> variable
Comment 1•14 years ago
|
||
Confirmed using Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b13pre) Gecko/20110322 Firefox/4.0b13pre ID:20110322030409.
Last good nightly: 2010-02-24
First bad nightly: 2010-02-25
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=ddfecbc93934&tochange=a29d44f196a6
In that range is bug 544698 (amongst other things).
This is likely a dupe of bug 619285 and therefore invalid. CCing Jonas for confirmation.
Blocks: 544698
Status: UNCONFIRMED → NEW
Component: General → HTML: Form Submission
Ever confirmed: true
Keywords: regression,
testcase
Product: Firefox → Core
QA Contact: general → form-submission
Hardware: x86_64 → x86
Whiteboard: [invalid?]
Version: unspecified → Trunk
Comment 2•14 years ago
|
||
Yep. This is invalid.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
Comment 3•14 years ago
|
||
Actually, let's track all the duplicates together...
Resolution: INVALID → DUPLICATE
Updated•14 years ago
|
Whiteboard: [invalid?]
| Assignee | ||
Updated•6 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•