From e76749fe918f58c453aab77f0c53ac0342afdadf Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Sat, 27 Jan 2018 17:45:22 -0800 Subject: Added more environment variables to those passed to CGIs. --- src/common.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/common.c b/src/common.c index 94418892..585b1e9b 100644 --- a/src/common.c +++ b/src/common.c @@ -192,6 +192,12 @@ static char* keepenvars[] = { "SERVER_NAME=", "SERVER_PORT=", "USER=", + "CONTENT_LENGTH=", + "DOCUMENT_ROOT=", + "SERVER_PROTOCOL=", + "REQUEST_SCHEME=", + "HTTPS=", + "REMOTE_PORT=", NULL }; -- cgit v1.2.3