I didn't reindent so that the patch would be clearer.
Index: mod_include.c =================================================================== --- mod_include.c (revision 158730) +++ mod_include.c (working copy) @@ -3542,7 +3542,6 @@ intern->end_seq_len = strlen(intern->end_seq); intern->undefined_echo = conf->undefined_echo; intern->undefined_echo_len = strlen(conf->undefined_echo); - }
if ((parent = ap_get_module_config(r->request_config, &include_module))) {
/* Kludge --- for nested includes, we want to keep the subprocess
@@ -3599,6 +3598,7 @@
apr_table_setn(r->subprocess_env, "QUERY_STRING_UNESCAPED",
ap_escape_shell_cmd(r->pool, arg_copy));
}
+ }
return send_parsed_content(f, b); }