Trunk version of patch works
+1: rpluem, jim, pgollucci
- * mod_expires: Do not sets negative max-age / Expires header in the past.
- PR 39774 [Jim Jagielski]
- Trunk version of patch:
- http://svn.apache.org/viewvc?rev=708902&view=rev
- Backport version for 2.2.x of patch:
- Trunk version of patch works
- +1: rpluem, jim, pgollucci
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
}
expires = base + additional;
+ if (expires < r->request_time) {
+ expires = r->request_time;
+ }
apr_table_mergen(t, "Cache-Control",
apr_psprintf(r->pool, "max-age=%" APR_TIME_T_FMT,
apr_time_sec(expires - r->request_time)));