]> git.pld-linux.org Git - packages/apache1.git/blame - apache1-proxy_content_base.patch
rel 15; builds
[packages/apache1.git] / apache1-proxy_content_base.patch
CommitLineData
35b2c95a
AM
1diff -urNp -x '*.orig' apache_1.3.42.org/src/modules/proxy/proxy_http.c apache_1.3.42/src/modules/proxy/proxy_http.c
2--- apache_1.3.42.org/src/modules/proxy/proxy_http.c 2023-02-02 22:43:29.949834915 +0100
3+++ apache_1.3.42/src/modules/proxy/proxy_http.c 2023-02-02 22:43:30.219834915 +0100
4@@ -604,6 +604,8 @@ int ap_proxy_http_handler(request_rec *r
bfc879b9
ER
5 ap_table_set(resp_hdrs, "URI", proxy_location_reverse_map(r, urlstr));
6 if ((urlstr = ap_table_get(resp_hdrs, "Content-Location")) != NULL)
7 ap_table_set(resp_hdrs, "Content-Location", proxy_location_reverse_map(r, urlstr));
8+ if ((urlstr = ap_table_get(resp_hdrs, "Content-Base")) != NULL)
9+ ap_table_set(resp_hdrs, "Content-Base", proxy_location_reverse_map(r, urlstr));
10
11 /* check if NoCache directive on this host */
35b2c95a 12 {
This page took 0.10622 seconds and 4 git commands to generate.