diff options
Diffstat (limited to 'http/lighttpd/fastcgi.patch')
-rw-r--r-- | http/lighttpd/fastcgi.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/http/lighttpd/fastcgi.patch b/http/lighttpd/fastcgi.patch deleted file mode 100644 index 6a622fcd7d..0000000000 --- a/http/lighttpd/fastcgi.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- src/mod_fastcgi.c.orig Thu Oct 16 16:08:37 2008 -+++ src/mod_fastcgi.c Tue Feb 17 02:51:40 2009 -@@ -3636,12 +3636,21 @@ static handler_t fcgi_check_extension(server *srv, con - * SCRIPT_NAME = /fcgi-bin/foo - * PATH_INFO = /bar - * -+ * if prefix = / -+ * -+ * /foo/bar -+ * -+ * SCRIPT_NAME = -+ * PATH_INFO = /foo/bar -+ * - */ - - /* the rewrite is only done for /prefix/? matches */ - if (extension->key->ptr[0] == '/' && -- con->uri.path->used > extension->key->used && -- NULL != (pathinfo = strchr(con->uri.path->ptr + extension->key->used - 1, '/'))) { -+ /* Special case for "/" */ -+ ((extension->key->ptr[1] == '\0' && (pathinfo = con->uri.path->ptr)) -+ || (con->uri.path->used > extension->key->used && -+ NULL != (pathinfo = strchr(con->uri.path->ptr + extension->key->used - 1, '/'))))) { - /* rewrite uri.path and pathinfo */ - - buffer_copy_string(con->request.pathinfo, pathinfo); |