openbsd-ports/www/lighttpd/patches/patch-src_mod_fastcgi_c
2006-02-09 02:30:40 +00:00

15 lines
430 B
Plaintext

$OpenBSD: patch-src_mod_fastcgi_c,v 1.1 2006/02/09 02:30:40 brad Exp $
--- src/mod_fastcgi.c.orig Wed Feb 8 19:05:06 2006
+++ src/mod_fastcgi.c Wed Feb 8 19:06:32 2006
@@ -3425,9 +3425,7 @@ static handler_t fcgi_check_extension(se
fn = uri_path_handler ? con->uri.path : con->physical.path;
- if (fn->used == 0) {
- return HANDLER_ERROR;
- }
+ if (buffer_is_empty(fn)) return HANDLER_GO_ON;
s_len = fn->used - 1;