Add 'Cookie' to private_headers in Radiant::Cache? #362

Open
jfahrenkrug opened this Issue Feb 6, 2013 · 2 comments

Projects

None yet

2 participants

@jfahrenkrug
Member

Since rack-cache 1.2, the list of default private_headers options is ['Authorization', 'Cookie'] (About private_headers: http://rtomayko.github.com/rack-cache/configuration). However in https://github.com/radiant/radiant/blob/1.1.2/lib/radiant/cache.rb we only pass in ['Authorization']. Is that intentional? Shouldn't we add Cookie as well? Or am I overlooking unwanted side effects?

Related info: #361

  • Johannes
@saturnflyer
Member

I've done this on the master branch. This should be configurable in the latest release in environment.rb (assuming it works correctly)

@jfahrenkrug
Member

Great, thanks Jim!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment