commit | 1f38bdb3f63f3ce7422bedfe3a6e24c1619e9881 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Nov 08 12:09:27 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Nov 08 12:09:27 2021 +0100 |
tree | c5da822df6b072c195453799d38945d54e217710 | |
parent | 49b0482ed4a24483de8627b246ae9068bbf405e8 [diff] |
BUG/MINOR: cache: properly ignore unparsable max-age in quotes When "max-age" or "s-maxage" receive their values in quotes, the pointer to the integer to be parsed is advanced by one, but the error pointer check doesn't consider this advanced offset, so it will not match a parse error such as max-age="a" and will take the value zero instead. This probably needs to be backported, though it's unsure it has any effect in the real world.