-*- coding: utf-8 -*-
Changes with Apache 2.0.56
+ *) mod_cache: Fix 'Vary: *' behavior to be RFC compliant. PR 16125.
+ [Paul Querna]
+
*) Remove the base href tag from proxy_ftp, as it breaks relative
links for clients not using an Authorization header. [Graham Leggett,
Jon Snow <jsnow27 gatesec.net>]
http://svn.apache.org/viewcvs?view=rev&rev=154319
+1: stoddard, striker, wrowe (as corrected in subsequent patches)
- *) mod_cache: Fix handling of 'Vary: *". PR 16125.
- Trunk: r180341
- 2.0.x Patch: http://issues.apache.org/bugzilla/attachment.cgi?id=15297
- +1: pquerna, jerenkrantz, colm
- jerenkrantz notes: I do prefer the version from r190033 (own if check).
-
-
*) mod_mime_magic: Handle CRLF-format^H^H^H^H^H^H^H magic files
with any trailing whitespace so that it works with the
default installation on Windows.
cache_request_rec *cache;
cache_server_conf *conf;
char *url = r->unparsed_uri;
- const char *cc_in, *cc_out, *cl;
+ const char *cc_in, *cc_out, *cl, *vary_out;
const char *exps, *lastmods, *dates, *etag;
apr_time_t exp, date, lastmod, now;
apr_off_t size;
/* check first whether running this filter has any point or not */
/* If the user has Cache-Control: no-store from RFC 2616, don't store! */
cc_in = apr_table_get(r->headers_in, "Cache-Control");
- if (r->no_cache || ap_cache_liststr(NULL, cc_in, "no-store", NULL)) {
+ vary_out = apr_table_get(r->headers_out, "Vary");
+ if (r->no_cache || ap_cache_liststr(NULL, cc_in, "no-store", NULL) ||
+ ap_cache_liststr(NULL, vary_out, "*", NULL)) {
ap_remove_output_filter(f);
return ap_pass_brigade(f->next, in);
}