diff options
Diffstat (limited to 'httpd/server_fcgi.c')
-rw-r--r-- | httpd/server_fcgi.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/httpd/server_fcgi.c b/httpd/server_fcgi.c index c91c98b..ce0ccc8 100644 --- a/httpd/server_fcgi.c +++ b/httpd/server_fcgi.c @@ -213,6 +213,13 @@ server_fcgi(struct httpd *env, struct client *clt) } script[scriptlen] = '\0'; } + else { + if (fcgi_add_param(¶m, "PATH_INFO", "", clt) == -1) { + errstr = "failed to encode param"; + goto fail; + } + } + /* * calculate length of http SCRIPT_NAME: |