You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Kwan, Kenneth Y" <Ke...@pccw.com> on 2002/06/11 13:13:15 UTC

Corrupted Request URI when POST with image button

Hi

I’m using Apache 1.3.22. I found that if I POST a form with image button,
the parameters always wrongly attached to the next request.

218.102.20.168 - - [11/Jun/2002:12:25:43 +0800] "POST /hotel/plan.jsp" 200
5139
218.102.20.168 - - [11/Jun/2002:12:25:43 +0800] "x=125&y=3GET
/hotel/images/spot_air_pic1.jpg" 501 895

Attached is the html:

<html>
<head>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0"
marginheight="0">
<form  name="LoginForm" method="post" action="/hotel/plan.jsp">
<input type="image" src="images/button_submit.jpg" width="96" height="26"
align="absmiddle" border="0">
</form>
</body>
</html>

If I change the “button submit” to normal submit, e.g. <input type=”
submit”>, there is no problem. Also, there is no problem when using GET
method

Is it a bug in Apache 1.3.22?

Kenneth

Re: Corrupted Request URI when POST with image button

Posted by Joshua Slive <jo...@slive.ca>.

On Tue, 11 Jun 2002, Kwan, Kenneth Y wrote:

[Please don't post to english lists in the big5 character-set.
It does nasty things to clients that don't understand it (plus
it drops into my spam filter because so much spam comes in
Chinese.]

> I'm using Apache 1.3.22. I found that if I POST a form with image
button,
> the parameters always wrongly attached to the next request.
>
> 218.102.20.168 - - [11/Jun/2002:12:25:43 +0800] "POST /hotel/plan.jsp" 200
> 5139
> 218.102.20.168 - - [11/Jun/2002:12:25:43 +0800] "x=125&y=3GET
> /hotel/images/spot_air_pic1.jpg" 501 895

> Is it a bug in Apache 1.3.22?

Highly unlikely.  Or, more accurately, extremely unlikely.

Have you tried this with multiple clients?

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org