Loading CHANGES +4 −0 Original line number Diff line number Diff line Changes with Apache 2.0.26-dev *) Fix a seg fault in mod_include. When we are generating an internal redirect, we must set r->uri to "", not a bogus string, and not NULL. [Ryan Bloom] *) Optimized location_walk, so subrequests, redirects and second passes now reuse previous section merges on a <Location > by <Location > basis, until we mismatch with the original location_walk. Loading server/request.c +1 −1 Original line number Diff line number Diff line Loading @@ -1710,7 +1710,7 @@ AP_DECLARE(request_rec *) ap_sub_req_lookup_file(const char *new_file, * but it's actually sometimes to impossible to do it... because the * file may not have a uri associated with it -djg */ rnew->uri = "INTERNALLY GENERATED file-relative req"; rnew->uri = apr_pstrdup(rnew->pool, ""); #if 0 /* XXX When this is reenabled, the cache triggers need to be set to faux * dir_walk/file_walk values. Loading server/util.c +1 −1 Original line number Diff line number Diff line Loading @@ -615,7 +615,7 @@ AP_DECLARE(char *) ap_make_dirstr_parent(apr_pool_t *p, const char *s) int l; if (last_slash == NULL) { return NULL; return apr_pstrdup(p, ""); } l = (last_slash - s) + 1; d = apr_palloc(p, l + 1); Loading Loading
CHANGES +4 −0 Original line number Diff line number Diff line Changes with Apache 2.0.26-dev *) Fix a seg fault in mod_include. When we are generating an internal redirect, we must set r->uri to "", not a bogus string, and not NULL. [Ryan Bloom] *) Optimized location_walk, so subrequests, redirects and second passes now reuse previous section merges on a <Location > by <Location > basis, until we mismatch with the original location_walk. Loading
server/request.c +1 −1 Original line number Diff line number Diff line Loading @@ -1710,7 +1710,7 @@ AP_DECLARE(request_rec *) ap_sub_req_lookup_file(const char *new_file, * but it's actually sometimes to impossible to do it... because the * file may not have a uri associated with it -djg */ rnew->uri = "INTERNALLY GENERATED file-relative req"; rnew->uri = apr_pstrdup(rnew->pool, ""); #if 0 /* XXX When this is reenabled, the cache triggers need to be set to faux * dir_walk/file_walk values. Loading
server/util.c +1 −1 Original line number Diff line number Diff line Loading @@ -615,7 +615,7 @@ AP_DECLARE(char *) ap_make_dirstr_parent(apr_pool_t *p, const char *s) int l; if (last_slash == NULL) { return NULL; return apr_pstrdup(p, ""); } l = (last_slash - s) + 1; d = apr_palloc(p, l + 1); Loading