aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyk Floeter <reyk@esdenera.com>2015-07-17 22:32:23 +0200
committerReyk Floeter <reyk@esdenera.com>2015-07-17 22:32:23 +0200
commitf5403fc57b13b2e66acac3980d9a4870114685af (patch)
treecc8f94e8eec4ba68a241f0dd1ebcc9e1e2197f19
parent36cb9819f6f67cccdf401bc4129ad5adae7049d3 (diff)
downloadhttpd-f5403fc57b13b2e66acac3980d9a4870114685af.tar.gz
httpd-f5403fc57b13b2e66acac3980d9a4870114685af.zip
Add clarification, RFC 3875
-rw-r--r--httpd/server_fcgi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/httpd/server_fcgi.c b/httpd/server_fcgi.c
index ce0ccc8..79f382b 100644
--- a/httpd/server_fcgi.c
+++ b/httpd/server_fcgi.c
@@ -212,8 +212,8 @@ server_fcgi(struct httpd *env, struct client *clt)
goto fail;
}
script[scriptlen] = '\0';
- }
- else {
+ } else {
+ /* RFC 3875 mandates that PATH_INFO is empty if not set */
if (fcgi_add_param(&param, "PATH_INFO", "", clt) == -1) {
errstr = "failed to encode param";
goto fail;