diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-06-13 14:56:02 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-06-13 14:56:02 -0500 |
commit | 934369f529699e65b57565189ae2d3f6f733ff11 (patch) | |
tree | 48c3c5005bd5f4f7d7ab43438db946ffef9b0247 /actionpack/lib/action_dispatch | |
parent | 41a398f859cc46430cb3b655d44c0cb3b41e42ae (diff) | |
download | rails-934369f529699e65b57565189ae2d3f6f733ff11.tar.gz rails-934369f529699e65b57565189ae2d3f6f733ff11.tar.bz2 rails-934369f529699e65b57565189ae2d3f6f733ff11.zip |
Don't set X-UA-Compatible header by default
We are setting this header to chrome=1 for Chrome Frame and this will be
retired soon. Check http://blog.chromium.org/2013/06/retiring-chrome-frame.html for
details
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/railtie.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/railtie.rb b/actionpack/lib/action_dispatch/railtie.rb index edf37bb9a5..2dfaab3587 100644 --- a/actionpack/lib/action_dispatch/railtie.rb +++ b/actionpack/lib/action_dispatch/railtie.rb @@ -20,8 +20,7 @@ module ActionDispatch config.action_dispatch.default_headers = { 'X-Frame-Options' => 'SAMEORIGIN', 'X-XSS-Protection' => '1; mode=block', - 'X-Content-Type-Options' => 'nosniff', - 'X-UA-Compatible' => 'chrome=1' + 'X-Content-Type-Options' => 'nosniff' } config.eager_load_namespaces << ActionDispatch |