-*- 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>]
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);
}