is used and has not been set in the httpd.conf file. PR: 23748, 24459
Submitted: Liam Quinn <liam htmlhelp.com>
Reviewed: Paul J. Reder
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101839
13f79535-47bb-0310-9956-
ffa450edef68
[Remove entries to the current 2.0 section below, when backported]
+ *) mod_expires: Don't report an Internal Server error if ExpiresDefault
+ is used and has not been set in the httpd.conf file. PR: 23748, 24459
+ [Liam Quinn <liam htmlhelp.com>]
+
*) mod_logio: Account for some bytes handed to the network layer prior to
dropped connections. [Jeff Trawick]
expiry = conf->expiresdefault;
}
}
- if (expiry != NULL) {
+ /* != '\0' covers the case where ExpiresDefault is not user defined. */
+ if (expiry != NULL && expiry[0] != '\0') {
set_expiration_fields(r, expiry, t);
}
}