Closed
Bug 234336
Opened 22 years ago
Closed 21 years ago
form submition using post and get methods doesn't send hidden fields data
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: nacho, Assigned: bugzilla)
Details
User-Agent:
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
I'm sending a sample of HTML which contains a form with a hidden field, that is
supposed to get to the server, but doesn't. I've tested the same code with
Firebird and Opera and IExplorer, the last two sending the field info ok. Is
this some security thing? I'm sending the html code + the intercepted
communication to the server with Opera and Firebird. Don't try to get to the
server because its a testing one and it's URL is valid only on the company's net.
--BEGIN CODE LISTING--
<html>
<title>Buscador</title>
<body>
<form action="buscar.php?sch=1&begin=0" method="post">
<input type=text name="parametros"></input>
<input type=submit value="Buscar">
Resultados por página:
<select name="rpbusqueda">
<option
selected>2</option>\n<option>3</option>\n<option>15</option>\n<option>20</option>\n<option>25</option>\n<input
type="hidden" name="searchstarted" value="true">
</select>
</form>
<br>
<br>
</body>
</html>
--END CODE LISTING--
--BEGIN FIREFOX TRANSMITION --
POST /dipro/paginas/buscador/buscar.php?sch=1&begin=0 HTTP/1.1
Host: moro.chu.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6)
Gecko/20040206 Firefox/0.8
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://moro.chu.com/dipro/paginas/buscador/buscar.php
Cookie: PHPSESSID=f88b87778a5cd21745aae5fdc0129c98
Content-Type: application/x-www-form-urlencoded
Content-Length: 24
parametros=&rpbusqueda=2
--END OF FIREFOX TRANSMITION --
--BEGIN OPERA TRANSMITION --
POST /dipro/paginas/buscador/buscar.php?sch=1&begin=0 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Opera 7.11 [es]
Host: moro.chu.com
Accept: text/html, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Language: es, en
Accept-Charset: windows-1252, utf-8, utf-16, iso-8859-1;q=0.6, *;q=0.1
Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
Referer: http://moro.chu.com/dipro/paginas/buscador/buscar.php
Cookie: PHPSESSID=79ab3d72f0b7aa2869929eaa1d80e85e
Cookie2: $Version=1
Connection: Keep-Alive, TE
TE: deflate, gzip, chunked, identity, trailers
Content-type: application/x-www-form-urlencoded
Content-length: 43
parametros=&rpbusqueda=2&searchstarted=true
--END OPERA TRANSMITION --
Reproducible: Always
Steps to Reproduce:
1. Copy the html code to some file.
2. Open the file and click the button.
3. Check with a tcp tracer. (TCP Spy is the one I used...) or make yourself a
server to check it out.
Actual Results:
The server lacks needed information.
Expected Results:
Send the hidden field info.
None
Have you retried this with FireFox 0.9(.1) or a more recent nightly?
Comment 2•21 years ago
|
||
You have the "searchstarted" element inside of the "rpbusqueda" element. I don't
think that is is valid html. Please try moving "searchstarted" element outside
of the "rpbusqueda" element and see if it works.
| Reporter | ||
Comment 3•21 years ago
|
||
I've tested the suggestion on moving searchstarted outside of rpbusqueda and it
worked ok. My mistake...
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•