durusmail: quixote-users: scgi 1.2a1 - apache2 - POST bug
ANNOUNCE: scgi 1.2 alpha 1 available
Re: ANNOUNCE: scgi 1.2 alpha 1 available
2003-07-31
scgi 1.2a1 - apache2 - POST bug
scgi 1.2a1 - apache2 - POST bug
quixote@devenoges.com
2003-08-01
hi,

there seems to be a problem with POST and scgi 1.2a1 under apache2

submitting a form with method POST and encoding
application/x-www-form-urlencoded results in erratic behavior.

here are some extracts from httpd-error.log:

Invalid URI in request rset: windows-1252, utf-8, utf-16,
iso-8859-1;q=0.6, *;q=0.1

Invalid method in request ,de;q=0.9

Invalid URI in request identity, *;q=0

Invalid method in request 54/EN/
etc...                      ^
                            |
                            |
                this is part of my app's URL, so I'm guessing
                that some values are being truncated, when
                request type is POST.

pure speculation!

this type of error can be created with any client (opera, ie, w3m...)

substituting scgi1.2a1/apache2.0.44 with scgi1.1/apache1.3.27  fixes
this problem, sorry at the moment i dont have time to investigate
this further. somebody ought to write some unit tests for scgi, (thats
me volunteering, when my workload is a little less)


Apache/2.0.44
python 2.3
gcc 3.2.1
freebsd 5.0


chris
--
"Machines take me by surprise with great frequency." --A. Turing

reply