https://bz.apache.org/bugzilla/show_bug.cgi?id=57448
--- Comment #15 from abernal <[email protected]> --- Reproduced on trunk with the ap_expr syntax: after `<!--#if expr='v("REQUEST_URI") =~ /(t)[.](sh)tml/' -->`, `<!--#set var="foo" value="[$1][$2]" -->` gives `[][]` and logs AH01330 "regex capture $1 is out of range (last regex was: '(null)')". Cause: get_include_var() takes $N as out of range if re->nsub < N. re_check() sets nsub for the legacy parser, but parse_ap_expr() never sets it, so it stays 0. Proposed fix, with a test: https://github.com/apache/httpd/pull/874 -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
