PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- *) core: fix r->handler = None case sensitivity
- trunk patch: http://svn.apache.org/r1735786
- 2.4.x patch: trunk works
- +1: covener, ylavic, jim
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
"Can't evaluate handler expression: %s", err);
return HTTP_INTERNAL_SERVER_ERROR;
}
+
+ if (val != ap_strstr_c(val, "proxy:unix")) {
+ /* Retained for compatibility -- but not for UDS */
+ char *tmp = apr_pstrdup(r->pool, val);
+ ap_str_tolower(tmp);
+ val = tmp;
+ }
+
if (strcmp(val, "none")) {
- if (val != ap_strstr_c(val, "proxy:unix")) {
- /* Retained for compatibility -- but not for UDS */
- char *tmp = apr_pstrdup(r->pool, val);
- ap_str_tolower(tmp);
- r->handler = tmp;
- }
- else {
- r->handler = val;
- }
+ r->handler = val;
}
}
else if (conf->handler && strcmp(conf->handler, "none")) {