From: Justin Erenkrantz Date: Mon, 28 Jul 2003 01:54:17 +0000 (+0000) Subject: mod_ext_filter: Set additional environment variables for use by X-Git-Tag: 2.0.48~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f24db7beed4610f3f7b6e6221bba8ace1c34e2e9;p=thirdparty%2Fapache%2Fhttpd.git mod_ext_filter: Set additional environment variables for use by the external filter. The missing code was identified by Andrew Ho, coded/tested by Jeff Trawick, and verified yet again by Neil Fraser. PR: 20944 Reviewed by: Andre Malo, Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@100803 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index d584253b9ae..ccccedc255d 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,8 @@ Changes with Apache 2.0.48 + *) mod_ext_filter: Set additional environment variables for use by + the external filter. PR 20944. [Andrew Ho, Jeff Trawick] + *) Fix buildconf errors when libtool version changes. [Jeff Trawick] *) Remember an authenticated user during internal redirects if the diff --git a/modules/filters/mod_ext_filter.c b/modules/filters/mod_ext_filter.c index 6031cd45a8b..c0a018dc79c 100644 --- a/modules/filters/mod_ext_filter.c +++ b/modules/filters/mod_ext_filter.c @@ -478,6 +478,7 @@ static apr_status_t init_ext_filter_process(ap_filter_t *f) * and QUERY_STRING_UNESCAPED */ ap_add_cgi_vars(f->r); + ap_add_common_vars(f->r); apr_table_setn(f->r->subprocess_env, "DOCUMENT_URI", f->r->uri); apr_table_setn(f->r->subprocess_env, "DOCUMENT_PATH_INFO", f->r->path_info); if (f->r->args) {