View Issue Details

IDProjectCategoryView StatusLast Update
0007032OXID eShop (all versions)4.08. Cachepublic2019-09-17 16:04
Status acknowledgedResolutionopen 
Product Version6.1.4 
Target VersionFixed in Version 
Summary0007032: [EE] Cache-Control entry adds falsy semicolon
DescriptionIn 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
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP Version7.1
Database Version5.7



2019-09-17 16:04

administrator   ~0013004

There is indeed no syntax description which says how the line should end.
Both RFC and are talking only about comma separated lists