Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Apache: do not pass subprocess environment variables (i.e. values giv…

…en by SetEnv/PassEnv directives) to backend processes through HTTP headers since we already pass this information through real environment variables.
  • Loading branch information...
commit 18dc96f7d1cf510eaa536626d69d19ef7542b883 1 parent 0090965
@FooBarWidget FooBarWidget authored
Showing with 0 additions and 10 deletions.
  1. +0 −10 ext/apache2/Hooks.cpp
View
10 ext/apache2/Hooks.cpp
@@ -773,16 +773,6 @@ class Hooks {
}
}
- // Add other environment variables.
- const apr_array_header_t *env_arr;
- apr_table_entry_t *env;
-
- env_arr = apr_table_elts(r->subprocess_env);
- env = (apr_table_entry_t*) env_arr->elts;
- for (i = 0; i < env_arr->nelts; ++i) {
- addHeader(headers, env[i].key, env[i].val);
- }
-
// Now send the headers.
string buffer;
Please sign in to comment.
Something went wrong with that request. Please try again.