View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007032 | OXID eShop (all versions) | 4.08. Cache | public | 2019-09-12 10:56 | 2024-06-26 10:03 |
Reporter | bdreissig | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Product Version | 6.1.4 | ||||
Summary | 0007032: [EE] Cache-Control entry adds falsy semicolon | ||||
Description | In ReverseProxyHeader.php, the setCacheAge() Method adds a falsy semicolon to the end of the Cache-Control HTTP header. This breaks Varnish 6.0 header parsing and leaves beresp.ttl at zero for every request. | ||||
Steps To Reproduce | - Use Varnish 6.0 as reverse proxy for an oxid EE 6.1.4 shop - Add some logging for beresp.ttl in and header values in the Varnish VCL's vcl_backend_response sub - Use varnishlog to track the header set by the shop on requests | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | 7.1 | ||||
Database Version | 5.7 | ||||
|
There is indeed no syntax description which says how the line should end. Both RFC and developer.mozilla.org are talking only about comma separated lists See: - https://tools.ietf.org/html/rfc7234#section-5.2.2.9 - https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control -MK |