From: Jeff Trawick Date: Mon, 14 Jul 2003 15:08:07 +0000 (+0000) Subject: mod_ext_filter: Set additional environment variables for use by X-Git-Tag: pre_ajp_proxy~1432 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8dbf8e9798b11137ea613dfb8a7f9e2b8c7b9988;p=apache mod_ext_filter: Set additional environment variables for use by the external filter. PR: 20944 The missing code was identified by Andrew Ho, coded/tested by Jeff Trawick, and verified yet again by Neil Fraser. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100595 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 99879a5d14..4197088641 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.1.0-dev [Remove entries to the current 2.0 section below, when backported] + *) mod_ext_filter: Set additional environment variables for use by + the external filter. PR 20944. [Andrew Ho, Jeff Trawick] + *) mod_actions: Introduce the "virtual" modifier to the Action directive, which allows the use of handlers for virtual locations. PR 8431. [André Malo] diff --git a/modules/filters/mod_ext_filter.c b/modules/filters/mod_ext_filter.c index ad54f3364c..d962fbd571 100644 --- a/modules/filters/mod_ext_filter.c +++ b/modules/filters/mod_ext_filter.c @@ -490,6 +490,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) {