the option to list entry metadata such as sizes and times. [Graham
Leggett]
+ *) mod_cache: correctly parse quoted strings in cache headers.
+ PR 50199 [Nick Kew]
+
*) mod_cache: Allow control over the base URL of reverse proxied requests
using the CacheKeyBaseURL directive, so that the cache key can be
calculated from the endpoint URL instead of the server URL. [Graham
const char *val_start = next;
while (*next && !apr_isspace(*next) &&
(*next != ',')) {
+ /* EAT QUOTED STRING */
+ if (*next == '"' || *next == '\'') {
+ char delim = *next;
+ while (*++next != delim) {
+ if (!*next) {
+ return 0;
+ }
+ else if (*next == '\\') {
+ ++next;
+ }
+ }
+ }
next++;
}
*val = apr_pstrmemdup(p, val_start,
/* skip to the next field */
do {
+ /* EAT QUOTED STRING */
+ if (*next == '"' || *next == '\'') {
+ char delim = *next;
+ while (*++next != delim) {
+ if (!*next) {
+ return 0;
+ }
+ else if (*next == '\\') {
+ ++next;
+ }
+ }
+ }
next++;
if (!*next) {
return 0;