-- a/modules/filters/mod_proxy_html.c
++ b/modules/filters/mod_proxy_html.c
break;
delim = ap_strchr_c(start, '|');
/* Restrict delim to ${...} */
if (delim && delim >= end) {
delim = NULL;
}
before = apr_pstrndup(r->pool, str, start-str);
after = end+1;
if (delim) {