Loading modules/ssl/mod_ssl.c +11 −11 Original line number Diff line number Diff line Loading @@ -491,6 +491,17 @@ static SSLConnRec *ssl_init_connection_ctx(conn_rec *c, { SSLConnRec *sslconn = myConnConfig(c); /* Reinit dc in any case because it may be r->per_dir_config scoped * and thus a caller like mod_proxy needs to update it per request. */ if (per_dir_config) { sslconn->dc = ap_get_module_config(per_dir_config, &ssl_module); } else { sslconn->dc = ap_get_module_config(c->base_server->lookup_defaults, &ssl_module); } if (!sslconn) { sslconn = apr_pcalloc(c->pool, sizeof(*sslconn)); Loading @@ -508,17 +519,6 @@ static SSLConnRec *ssl_init_connection_ctx(conn_rec *c, myConnConfigSet(c, sslconn); } /* Reinit dc in any case because it may be r->per_dir_config scoped * and thus a caller like mod_proxy needs to update it per request. */ if (per_dir_config) { sslconn->dc = ap_get_module_config(per_dir_config, &ssl_module); } else { sslconn->dc = ap_get_module_config(c->base_server->lookup_defaults, &ssl_module); } return sslconn; } Loading server/request.c +3 −1 Original line number Diff line number Diff line Loading @@ -195,8 +195,10 @@ AP_DECLARE(int) ap_process_request_internal(request_rec *r) ap_getparents(r->uri); /* OK --- shrinking transformations... */ if (sconf->merge_slashes != AP_CORE_CONFIG_OFF) { ap_no2slash(r->uri); if (r->parsed_uri.path) { ap_no2slash(r->parsed_uri.path); } } /* All file subrequests are a huge pain... they cannot bubble through the * next several steps. Only file subrequests are allowed an empty uri, Loading server/util.c +4 −0 Original line number Diff line number Diff line Loading @@ -573,6 +573,10 @@ AP_DECLARE(void) ap_no2slash_ex(char *name, int is_fs_path) char *d, *s; if (!name || !*name) { return; } s = d = name; #ifdef HAVE_UNC_PATHS Loading Loading
modules/ssl/mod_ssl.c +11 −11 Original line number Diff line number Diff line Loading @@ -491,6 +491,17 @@ static SSLConnRec *ssl_init_connection_ctx(conn_rec *c, { SSLConnRec *sslconn = myConnConfig(c); /* Reinit dc in any case because it may be r->per_dir_config scoped * and thus a caller like mod_proxy needs to update it per request. */ if (per_dir_config) { sslconn->dc = ap_get_module_config(per_dir_config, &ssl_module); } else { sslconn->dc = ap_get_module_config(c->base_server->lookup_defaults, &ssl_module); } if (!sslconn) { sslconn = apr_pcalloc(c->pool, sizeof(*sslconn)); Loading @@ -508,17 +519,6 @@ static SSLConnRec *ssl_init_connection_ctx(conn_rec *c, myConnConfigSet(c, sslconn); } /* Reinit dc in any case because it may be r->per_dir_config scoped * and thus a caller like mod_proxy needs to update it per request. */ if (per_dir_config) { sslconn->dc = ap_get_module_config(per_dir_config, &ssl_module); } else { sslconn->dc = ap_get_module_config(c->base_server->lookup_defaults, &ssl_module); } return sslconn; } Loading
server/request.c +3 −1 Original line number Diff line number Diff line Loading @@ -195,8 +195,10 @@ AP_DECLARE(int) ap_process_request_internal(request_rec *r) ap_getparents(r->uri); /* OK --- shrinking transformations... */ if (sconf->merge_slashes != AP_CORE_CONFIG_OFF) { ap_no2slash(r->uri); if (r->parsed_uri.path) { ap_no2slash(r->parsed_uri.path); } } /* All file subrequests are a huge pain... they cannot bubble through the * next several steps. Only file subrequests are allowed an empty uri, Loading
server/util.c +4 −0 Original line number Diff line number Diff line Loading @@ -573,6 +573,10 @@ AP_DECLARE(void) ap_no2slash_ex(char *name, int is_fs_path) char *d, *s; if (!name || !*name) { return; } s = d = name; #ifdef HAVE_UNC_PATHS Loading