Changes with Apache 2.4.24
+ *) mod_proxy_fcgi: Fix 2.4.23 breakage for mod_rewrite per-dir and query
+ string showing up in SCRIPT_FILENAME. PR59815
+
*) mod_include: Fix a potential memory misuse while evaluating expressions.
PR59844. [Eric Covener]
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- *) mod_proxy_fcgi: Fix 2.4.23 breakage for mod_rewrite per-dir and query
- string showing up in SCRIPT_FILENAME. PR59815
- trunk patch: http://svn.apache.org/r1751970
- 2.4.x patch: trunk works + CHANGES
- +1 covener, elukey, jim
-
*) mod_proxy_fdpass: enable at build level 'most', restores compatibility
with common httpd 2.4 rpm.spec descriptors.
trunk patch: http://svn.apache.org/r1753224
apr_status_t rv;
apr_size_t avail_len, len, required_len;
int next_elem, starting_elem;
- char *proxyfilename = r->filename;
fcgi_req_config_t *rconf = ap_get_module_config(r->request_config, &proxy_fcgi_module);
if (rconf) {
else if (!strncmp(r->filename, "proxy:fcgi://", 13)) {
newfname = apr_pstrdup(r->pool, r->filename+13);
}
+ /* Query string in environment only */
+ if (newfname && r->args && *r->args) {
+ char *qs = strrchr(newfname, '?');
+ if (qs && !strcmp(qs+1, r->args)) {
+ *qs = '\0';
+ }
+ }
if (newfname) {
newfname = ap_strchr(newfname, '/');
ap_add_common_vars(r);
ap_add_cgi_vars(r);
- r->filename = proxyfilename;
-
/* XXX are there any FastCGI specific env vars we need to send? */
/* XXX mod_cgi/mod_cgid use ap_create_environment here, which fills in