1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

* r->parsed_uri.path can be NULL in case of the CONNECT method.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1855744 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ruediger Pluem
2019-03-18 09:21:26 +00:00
parent c9f3b52c10
commit 2e00fa7241

View File

@@ -195,7 +195,9 @@ 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);
ap_no2slash(r->parsed_uri.path);
if (r->parsed_uri.path) {
ap_no2slash(r->parsed_uri.path);
}
}
/* All file subrequests are a huge pain... they cannot bubble through the