diff options
author | Mark Sapiro <mark@msapiro.net> | 2018-01-27 17:45:22 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2018-01-27 17:45:22 -0800 |
commit | e76749fe918f58c453aab77f0c53ac0342afdadf (patch) | |
tree | 56c9fdbe896cdba6a3c65123418553836d3c4d39 | |
parent | f12a56e86d01220c8cba3bd2b93103bdfca47980 (diff) | |
download | mailman2-e76749fe918f58c453aab77f0c53ac0342afdadf.tar.gz mailman2-e76749fe918f58c453aab77f0c53ac0342afdadf.tar.xz mailman2-e76749fe918f58c453aab77f0c53ac0342afdadf.zip |
Added more environment variables to those passed to CGIs.
Diffstat (limited to '')
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | src/common.c | 6 |
2 files changed, 9 insertions, 0 deletions
@@ -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 }; |