Commit 904745560aa8665f9076374b2c436329c8d658d3
Exists in
spb-stable
and in
3 other branches
Merge branch 'exclude_subdomains_in_header' of /home/git/repositories/gitlab/gitlabhq
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/application_controller.rb
... | ... | @@ -162,7 +162,7 @@ class ApplicationController < ActionController::Base |
162 | 162 | headers['X-XSS-Protection'] = '1; mode=block' |
163 | 163 | headers['X-UA-Compatible'] = 'IE=edge' |
164 | 164 | headers['X-Content-Type-Options'] = 'nosniff' |
165 | - headers['Strict-Transport-Security'] = 'max-age=31536000; includeSubDomains' if Gitlab.config.gitlab.https | |
165 | + headers['Strict-Transport-Security'] = 'max-age=31536000' if Gitlab.config.gitlab.https | |
166 | 166 | end |
167 | 167 | |
168 | 168 | def add_gon_variables | ... | ... |