]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
revert for now, surprising the scheme is present.
authorEric Covener <covener@apache.org>
Wed, 25 Mar 2020 02:01:04 +0000 (02:01 +0000)
committerEric Covener <covener@apache.org>
Wed, 25 Mar 2020 02:01:04 +0000 (02:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875605 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
server/request.c

diff --git a/CHANGES b/CHANGES
index 521607162360f9536d6daa79a749504031336616..4254b39606cf0572c888e795f772d84d4d2e34df 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,10 +1,6 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.5.1
 
-  *) core: When a scheme (protocol) appears in the request URL, don't merge
-     the two slashes that separate the scheme from the authority (hostname).
-     PR 63437. [Eric Covener]
-
   *) mod_proxy_http: Fix random memory-corruption in case of an error while
      reading a response from the backend.
      PR 64234 [Ruediger Pluem, Barnim Dzwillo <dzwillo@strato.de>]
index dd59ebf2c1d4bca5b9e05c93409b6ce92a960f15..a448fa7af5f4d2f98e50b7942bf0ac5372af5896 100644 (file)
@@ -194,9 +194,7 @@ 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) { 
-        int offset = r->parsed_uri.scheme ? strlen(r->parsed_uri.scheme) + 3 /* '://' */
-                                          : 0;
-        ap_no2slash(&r->uri[offset]);
+        ap_no2slash(r->uri);
         if (r->parsed_uri.path) {
             ap_no2slash(r->parsed_uri.path);
         }