PR 38864
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@893871
13f79535-47bb-0310-9956-
ffa450edef68
ScanHTMLTitles, ReadmeName, HeaderName
PR 48416 [Dmitry Bakshaev <dab18 izhnet.ru>, Nick Kew]
+ *) Proxy: Fix ProxyPassReverse with relative URL.
+ PR 38864 [Nick Kew]
+
Changes with Apache 2.3.4
*) Replace AcceptMutex, LockFile, RewriteLock, SSLMutex, SSLStaplingMutex,
}
else {
l2 = strlen(real);
+ if (real[0] == '/') {
+ const char *part = strstr(url, "://");
+ if (part) {
+ part = strstr(part+3, "/");
+ if (part) {
+ url = part;
+ l1 = strlen(url);
+ }
+ }
+ }
if (l1 >= l2 && strncasecmp(real, url, l2) == 0) {
u = apr_pstrcat(r->pool, ent[i].fake, &url[l2], NULL);
return ap_construct_url(r->pool, u, r);