httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: svn commit: r1132494 - in /httpd/httpd/trunk: ./ include/ modules/mappers/ server/
Date Tue, 28 Jan 2014 02:11:51 GMT
On Sun, Jun 5, 2011 at 5:33 PM,  <sf@apache.org> wrote:
> +                       else {
> +                           int pathlen = strlen(found) -
> +                                         (strlen(r->uri + regm[0].rm_eo));
> +                           AP_DEBUG_ASSERT(pathlen >= 0);
> +                           AP_DEBUG_ASSERT(pathlen <= strlen(found));
> +                           ap_set_context_info(r,
> +                                               apr_pstrmemdup(r->pool, r->uri,
> +                                                              regm[0].rm_eo),
> +                                               apr_pstrmemdup(r->pool, found,
> +                                                              pathlen));

I sometimes trip over this mod_alias bit in maintainer builds with
various constructs like this where there is really no capture:

AliasMatch ^(?!foo) /home/covener/SRC/httpd-trunk/built/htdocs/index.html

Should we bail on the whole thing if regm[0].rm_so is not 0?



-- 
Eric Covener
covener@gmail.com

Mime
View raw message