aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2018-01-27 17:45:22 -0800
committerMark Sapiro <mark@msapiro.net>2018-01-27 17:45:22 -0800
commite76749fe918f58c453aab77f0c53ac0342afdadf (patch)
tree56c9fdbe896cdba6a3c65123418553836d3c4d39 /src
parentf12a56e86d01220c8cba3bd2b93103bdfca47980 (diff)
downloadmailman2-e76749fe918f58c453aab77f0c53ac0342afdadf.tar.gz
mailman2-e76749fe918f58c453aab77f0c53ac0342afdadf.tar.xz
mailman2-e76749fe918f58c453aab77f0c53ac0342afdadf.zip
Added more environment variables to those passed to CGIs.
Diffstat (limited to 'src')
-rw-r--r--src/common.c6
1 files changed, 6 insertions, 0 deletions
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
};