diff options
author | jomo <github@jomo.tv> | 2017-01-08 08:06:37 +0100 |
---|---|---|
committer | jomo <github@jomo.tv> | 2017-01-08 08:06:37 +0100 |
commit | 61edf2788833e9cc1acd5e697e31c31ed3962bdb (patch) | |
tree | fce06cb8c5cd0673a2c4a5615dfb6b48f23bb771 /vendor | |
parent | abeb405bab21bcd216fd9f9b894cd23fbc53a06b (diff) |
add CookieJar patch to flag cookies as secure based on the connection protocol
rails only allows to globally flag session cookies as either secure or not
this patch sets the secure flag for cookies based on the protocol (http/https)
this is used to send cookies via http but flag them secure for https
which allows use with HTTP over Tor for an onion domain
this is acceptable because nginx redirects clearnet http to https
Diffstat (limited to 'vendor')
0 files changed, 0 insertions, 0 deletions