On Mon, Jul 16, 2001 at 02:11:02PM +0200, [EMAIL PROTECTED] wrote:
[...]
> Looks like sqwebmail doesn't find the `folder' variable. But it
> is there. Here's a ScriptLog snipet (see the attacment for the
> whole relevant piece):

The cause seems to be that cgi_setup() just skips the POST-ed
form, because it does not recognize it as
application/x-www-form-urlencoded

Lynx says:

> Content-type: application/x-www-form-urlencoded; charset=iso-8859-2

but cgi_setup() - (src/cgi/cgi.c, line 165) contains:

        if (strcmp(args,"application/x-www-form-urlencoded"))

I think that should be changed to:

        if (strncmp(args,"application/x-www-form-urlencoded", 33))

which works for me, unless the line Lynx sends is against the spec.

regards

Marcin
-- 
Marcin Owsiany
[EMAIL PROTECTED]

Reply via email to