the expression is moot and is nulled out
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1728208 13f79535-47bb-0310-9956-
ffa450edef68
*wsel->s->hcuri = '\0';
}
if (hc_valid_expr_f && (val = apr_table_get(params, "w_he"))) {
- if (strlen(val) && hc_valid_expr_f(r, val) && strlen(val) < sizeof(wsel->s->hcexpr))
+ if (strlen(val) && wsel->s->method != NONE && wsel->s->method != TCP &&
+ hc_valid_expr_f(r, val) && strlen(val) < sizeof(wsel->s->hcexpr))
strcpy(wsel->s->hcexpr, val);
else
*wsel->s->hcexpr = '\0';