PR 43906
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@965679
13f79535-47bb-0310-9956-
ffa450edef68
*) mod_include: recognise "text/html; parameters" as text/html
PR 49616 [Andrey Chernov <ache nagual.pp.ru>]
+ *) CGI vars: allow PATH to be set by SetEnv, consistent with LD_LIBRARY_PATH
+ PR 43906 [Nick Kew]
+
Changes with Apache 2.3.6
*) SECURITY: CVE-2009-3555 (cve.mitre.org)
}
}
- if (!(env_path = getenv("PATH"))) {
+ env_path = apr_table_get(r->subprocess_env, "PATH");
+ if (env_path == NULL) {
+ env_path = getenv("PATH");
+ }
+ if (env_path == NULL) {
env_path = DEFAULT_PATH;
}
apr_table_addn(e, "PATH", apr_pstrdup(r->pool, env_path));