NetBSD/libexec/httpd
tls 7184d23274 More CGI handling fixes from Sergey Katsev at Coyote Point.
1) Fix an issue where because of the reordering of transform_request
   and process_cgi, the cgi-script name was being cut off
   by one character (transform_request for some reason
   cuts off the leading '/' for the file name as part of its
   processing).  As an 'easy' fix, simply re-add the '/' to the
   front of the filename, which means that we don't have to
   mess with the logic that sometimes adds +1 and sometimes doesn't.

2) Work around ridiculous bug in PHP reported by lukem in 2004,
   but stubbornly never fixed by the PHP maintainers:

   Change the SCRIPT_NAME and SCRIPT_FILENAME variables
   to contain the file name only, not the query if one exists.
   Having the query in SCRIPT_FILENAME causes php-cgi to not
   work, as per the bug information here:
   	 http://bugs.php.net/bug.php?id=28227

3) Fix a memory leak because URL wasn't being freed.
2009-02-19 22:33:39 +00:00
..
Makefile warns=4 2008-04-25 17:34:38 +00:00
auth-bozo.c
bozohttpd.8 Move all subsections to main DESCRIPTION, noted by John Nemeth. 2008-12-06 14:17:43 +00:00
bozohttpd.c Add If-Modified-Since support. 2009-02-09 17:06:11 +00:00
bozohttpd.h Add If-Modified-Since support. 2009-02-09 17:06:11 +00:00
cgi-bozo.c More CGI handling fixes from Sergey Katsev at Coyote Point. 2009-02-19 22:33:39 +00:00
content-bozo.c
daemon-bozo.c slen must be initialized before the call to accept 2008-05-02 19:14:03 +00:00
dir-index-bozo.c From Sergey Katsev at Coyote Point: fix bugs in request transformation and 2009-02-04 22:55:58 +00:00
ssl-bozo.c new openssl returns const method objects. 2008-05-10 19:25:20 +00:00
tilde-luzah-bozo.c From Sergey Katsev at Coyote Point: fix bugs in request transformation and 2009-02-04 22:55:58 +00:00