Skip to content
This repository

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

Open
jfahrenkrug opened this Issue · 2 comments

2 participants

Johannes Fahrenkrug Jim Gay
Johannes Fahrenkrug
Collaborator

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
Jim Gay
Owner

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

Johannes Fahrenkrug
Collaborator

Great, thanks Jim!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.