You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2019/03/18 09:21:26 UTC
svn commit: r1855744 - /httpd/httpd/trunk/server/request.c
Author: rpluem
Date: Mon Mar 18 09:21:26 2019
New Revision: 1855744
URL: http://svn.apache.org/viewvc?rev=1855744&view=rev
Log:
* r->parsed_uri.path can be NULL in case of the CONNECT method.
Modified:
httpd/httpd/trunk/server/request.c
Modified: httpd/httpd/trunk/server/request.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/request.c?rev=1855744&r1=1855743&r2=1855744&view=diff
==============================================================================
--- httpd/httpd/trunk/server/request.c (original)
+++ httpd/httpd/trunk/server/request.c Mon Mar 18 09:21:26 2019
@@ -195,7 +195,9 @@ AP_DECLARE(int) ap_process_request_inter
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