[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev Problem with parameters sent in Lynx
From: |
Peter Rasmussen |
Subject: |
lynx-dev Problem with parameters sent in Lynx |
Date: |
Sun, 29 Dec 2002 01:22:02 +0100 |
I am totally new to this list, but have for many years happily been using Lynx.
Having started producing my own websoftware that works great with Netscape,
Mozilla, Opera and IE I would now also finally like to make it work with Lynx.
I don't know which of the browsers don't follow the standards, but I can see
that Lynx doesn't work whereas the others do, so I am inclined to think that
Lynx is at fault.
I looked in the archives but don't really know what to call it or how to search
for it, if it has previously been discussed with you guys. For now I am on the
lynx-dev list and will be listening.
OK, so my problem is that I have cgi binaries that call each other using
command line like parameters, eg. Lynx calls it like this:
list_one_subject.cgi?1092279031 000 DVD_1043951012 00000 list_subjects.cgi
and the others calls it like this:
list_one_subject.cgi?1092279031%20000%20DVD_1043951012%2000000%20list_subjects.cgi
But when I receive it in the binary, here list_one_subject.cgi I get all the
parameters in char* argv[] as in a normal C binary. That is, except for when
I use Lynx because then the Apache server has problems with what it receives.
In general I have noticed that special characters must be handled carefully,
and I don't know if it is a browser or a httpd problem, but again as I said,
Lynx is the only browser I have seen that experiences the problem.
Then I have added some log info that might be of interest:
Lynx Version 2.8.5dev.12 (18 Dec 2002), (on Alpha)
Compiled with the following 'configure' line:
./configure --with-ssl=/usr/lib --enable-charset-choice --enable-file-upload
--enable-htmlized-cfg --enable-libjs --enable-nested-tables --enable-read-eta
--enable-source-cache --enable-cgi-links --enable-change-exec
/var/log/httpd/apache_access_log
213.237.80.42.adsl.he.worldonline.dk - - [29/Dec/2002:00:29:29 +0100] "GET
/New/dvd_db/list_one_subject.cgi?640065183 000 DVD_1043951012 00000
list_subjects.cgi HTTP/1.0" 400 411
/var/log/httpd/apache_error_log
[Sun Dec 29 00:29:29 2002] [error] [client 213.237.80.42] request failed:
erroneous characters after protocol string: GET
/New/dvd_db/list_one_subject.cgi?640065183 000 DVD_1043951012 00000
list_subjects.cgi HTTP/1.0
------------------------------------
Netscape 6.2 (on i386), just for reference
/var/log/httpd/apache_access_log
213.237.80.42.adsl.he.worldonline.dk - - [29/Dec/2002:00:30:13 +0100] "GET
/New/dvd_db/list_one_subject.cgi?904309706%20000%20DVD_1043951012%2000000%20list_subjects.cgi
HTTP/1.1" 200 1195
------------------------------------
Mozilla 1.3a (on i386), I usually use the latest Mozilla
/var/log/httpd/apache_access_log
213.237.80.42.adsl.he.worldonline.dk - - [29/Dec/2002:00:42:22 +0100] "GET
/New/dvd_db/list_one_subject.cgi?1931649178%20000%20DVD_1043951012%2000000%20list_subjects.cgi
HTTP/1.0" 200 1183
213.237.80.42.adsl.he.worldonline.dk - - [29/Dec/2002:00:43:54 +0100] "GET
/New/dvd_db/list_one_subject.cgi?1092279031%20000%20DVD_1043951012%2000000%20list_subjects.cgi
HTTP/1.1" 200 1190
------------------------------------
httpd: Apache 1.3.26 (on Alpha)
/usr/local/apache/bin/httpd -l
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_access.c
mod_auth.c
mod_setenvif.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
------------------------------------------------------------------------
As I have the source I could look into it myself, if someone could give me a
few pointers about where to look. I haven't looked into Lynx source before so
I'd need some help to get started :-)
Thank you very much,
Peter
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden
- lynx-dev Problem with parameters sent in Lynx,
Peter Rasmussen <=
- Re: lynx-dev Problem with parameters sent in Lynx, Peter Rasmussen, 2002/12/28
- Re: lynx-dev Problem with parameters sent in Lynx, Peter Rasmussen, 2002/12/28
- Re: lynx-dev Problem with parameters sent in Lynx, Peter Rasmussen, 2002/12/28
- Re: lynx-dev Problem with parameters sent in Lynx, Peter Rasmussen, 2002/12/29
- Re: lynx-dev Problem with parameters sent in Lynx, Peter Rasmussen, 2002/12/29