Closed
Bug 290492
Opened 19 years ago
Closed 19 years ago
<input type=image doesn't post any data if name='e_something
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
EXPIRED
People
(Reporter: wk633, Assigned: bugzilla)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 <form action='samepage.asp' method='post' name='foobar_form'> <input type='image' src='somepath/image1.gif' name='e_foo' value='bar1'> <input type='image' src='somepath/inage2.gif' name='x_foo' value='bar2'> </form> clicking on the first button will result in a postback with no data. If the method is 'get' it works. The 2nd button causes a postback with data. As far as I can tell it's only names starting with 'e_'. Any other name seems to be fine. Also does not depend on order (first last, more than two <input>s etc) Reproducible: Always Steps to Reproduce: 1. create page with a method=post form 2. create <input type=image name='e_foo' value='bar'> 3. write some code to query and display form data 4. browse to the page 5. click on the image 6. observe lack of form data Actual Results: in asp: at the top of the page I have: response.Write Request.Form.Count Response.Write "<BR>" for i = 1 to request.Form.Count response.Write request.Form.Key(i) response.Write " = " response.Write Request.Form.Item(i) response.Write "<br>" next A '0' is displayed at the top of the page after clicking on the image button Expected Results: If the image name is change to 'd_foo' 3 d_foo.x = 13 d_foo.y = 10 d_foo = bar IE 6 and Opera 7.54 exhibit the same behavior. If it's intentional, it's a pretty good job of boog compatability!
Comment 1•19 years ago
|
||
"e_" or "&e_" ("pi_" or "&pi_" also) is special number representation in some scripting languages. Isn't it has relation to your problem? What will happen when second INPUT's name is changed to "pi_foo"?
Reporter | ||
Comment 2•19 years ago
|
||
(In reply to comment #1) > "e_" or "&e_" ("pi_" or "&pi_" also) is special number representation in some > scripting languages. > Isn't it has relation to your problem? > What will happen when second INPUT's name is changed to "pi_foo"? I tried to check this, and now can't reproduce the behavior at all. I had a simple test case that failed on three browsers, but now works on all three. I'll keep trying, but for now it's certainly unconfirmed.
Comment 3•19 years ago
|
||
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
Comment 4•19 years ago
|
||
This bug has been automatically resolved after a period of inactivity (see above comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
You need to log in
before you can comment on or make changes to this bug.
Description
•