diff options
author | mrg <mrg> | 2002-09-13 09:30:06 +0000 |
---|---|---|
committer | mrg <mrg> | 2002-09-13 09:30:06 +0000 |
commit | 77c3bee55dfde7c680cafb7ec6dd3f61ff027a0d (patch) | |
tree | 60275565fcff5ddc003f0f2da04527a316c41406 /www/bozohttpd/patches | |
parent | ce33f550948f375d7d763c583bbea1af77afa994 (diff) | |
download | pkgsrc-77c3bee55dfde7c680cafb7ec6dd3f61ff027a0d.tar.gz |
update to bozohttpd 5.15. changes are:
o add .ogg support -> `application/x-ogg'
o fix CGI requests with "/" in the query part
Diffstat (limited to 'www/bozohttpd/patches')
-rw-r--r-- | www/bozohttpd/patches/patch-aa | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/www/bozohttpd/patches/patch-aa b/www/bozohttpd/patches/patch-aa deleted file mode 100644 index 1ecc1eb885b..00000000000 --- a/www/bozohttpd/patches/patch-aa +++ /dev/null @@ -1,30 +0,0 @@ -$NetBSD: patch-aa,v 1.4 2002/09/12 21:20:32 wiz Exp $ - ---- bozohttpd.c.orig Fri Aug 23 07:43:44 2002 -+++ bozohttpd.c -@@ -1434,6 +1434,12 @@ process_cgi(request) - if (request->method == HTTP_HEAD) - goto print_cgi_header; - -+ if ((s = strchr(url, '?')) != NULL) { -+ *s++ = '\0'; -+ query = s; -+ } else -+ query = NULL; -+ - if ((s = strchr(url + 1, '/')) != NULL) { - command = malloc(s - url); - if (command == NULL) -@@ -1449,12 +1455,6 @@ process_cgi(request) - if (*command == '/') - command++; - } -- -- if ((s = strchr(url, '?')) != NULL) { -- *s++ = '\0'; -- query = s; -- } else -- query = NULL; - - debug((DEBUG_FAT, "process_cgi: cmd %s info %s query %s", - command, info, query ? query : "<null>")); |