about summary refs log tree commit diff
path: root/Gemfile
diff options
context:
space:
mode:
authorCecylia Bocovich <cohosh@torproject.org>2021-02-10 22:40:13 -0500
committerGitHub <noreply@github.com>2021-02-11 04:40:13 +0100
commite79f8dd85cb63125185fdf711f470c298a0b5dbc (patch)
treec27f1d0e2cd45262934fd5729e9ae3cd824747b3 /Gemfile
parentd499bb031f0d20a5f27facfd57cf4e00f89003d7 (diff)
Onion service related changes to HTTPS handling (#15560)
* Enable secure cookie flag for https only

* Disable force_ssl for .onion hosts only

Co-authored-by: Aiden McClelland <me@drbonez.dev>
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 78cb44168..8d8542f83 100644
--- a/Gemfile
+++ b/Gemfile
@@ -161,3 +161,5 @@ gem 'connection_pool', require: false
 
 gem 'xorcist', '~> 1.1'
 gem 'pluck_each', '~> 0.1.3'
+
+gem 'secure_headers', '~> 3.5'