aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--src/common.c6
2 files changed, 9 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 15465943..c31e4f11 100644
--- a/NEWS
+++ b/NEWS
@@ -26,6 +26,9 @@ Here is a history of user visible changes to Mailman.
Bug fixes and other patches
+ - Added a few more environment variables to the list of those passed
+ to CGIs to support an nginx/uwsgi configuration. (LP #1744739)
+
- Mailman 2.1.22 introduced a Python 2.7 dependency that could affect
bin/arch processing a message without a valid Date: header. The
dependency has been removed. (LP: #1740543)
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
};