aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyk Floeter <reyk@esdenera.com>2015-07-17 22:28:13 +0200
committerReyk Floeter <reyk@esdenera.com>2015-07-17 22:28:13 +0200
commit36cb9819f6f67cccdf401bc4129ad5adae7049d3 (patch)
tree244a12a8359d8dbda119b7f4800d6c7c71e55031
parente6ae7da638a3847eb0f4a0926bf213c1ee359c08 (diff)
parent9a38d2654f6b1c704ec9ab82a4d91cbef7767a48 (diff)
downloadhttpd-36cb9819f6f67cccdf401bc4129ad5adae7049d3.tar.gz
httpd-36cb9819f6f67cccdf401bc4129ad5adae7049d3.zip
Merge branch 'master' of git://github.com/hrkfdn/httpd into hrkfdn-master
-rw-r--r--httpd/server_fcgi.c7
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(&param, "PATH_INFO", "", clt) == -1) {
+ errstr = "failed to encode param";
+ goto fail;
+ }
+ }
+
/*
* calculate length of http SCRIPT_NAME: