git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104645
13f79535-47bb-0310-9956-
ffa450edef68
int status;
char server_portstr[32];
char *scheme;
+ char *ch;
const char *proxy_function;
const char *u;
proxy_conn_rec *backend = NULL;
return HTTP_BAD_REQUEST;
scheme = apr_pstrndup(c->pool, url, u - url);
/* scheme is lowercase */
- apr_tolower(scheme);
+ ch = scheme;
+ while (*ch) {
+ *ch = apr_tolower(*ch);
+ ++ch;
+ }
/* is it for us? */
if (strcmp(scheme, "https") == 0) {
if (!ap_proxy_ssl_enable(NULL)) {