recent mod_expires backport
Reviewed by: jorton, rederpj, trawick, Geoffrey Young
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@102497
13f79535-47bb-0310-9956-
ffa450edef68
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2004/02/04 14:37:40 $]
+Last modified at [$Date: 2004/02/04 14:48:30 $]
Release:
[ please place file names and revisions from HEAD here, so it is easy to
identify exactly what the proposed changes are! ]
- * mod_expires: Fix new warnings introduced by ExpiresByType change.
- http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/metadata/mod_expires.c?r1=1.45&r2=1.46
- +1: jorton, rederpj
-
* fix DECLINE_CMD interaction with ITERATE/ITERATE2
http://cvs.apache.org/viewcvs.cgi/httpd-2.0/server/config.c?r1=1.168&r2=1.169
+1: geoff, trawick
{
expires_dir_config *dir_config = in_dir_config;
char *response, *real_code;
- char *check;
+ const char *check;
- check = strrchr(mime, '/');
+ check = ap_strrchr_c(mime, '/');
if ((strlen(++check) == 1) && (*check == '*')) {
dir_config->wildcards = 1;
}