aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/webapp/WEB-INF
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-05-19 16:23:56 +0200
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-05-20 09:04:56 +0200
commited30dd2e73019a30db58f5be7fe027cd9aea9969 (patch)
tree69d3555a7a6296761ee562ca7cae1240b00a2f15 /server/sonar-web/src/main/webapp/WEB-INF
parentf4dce455f68336247653f0a19b346dde105bce37 (diff)
downloadsonarqube-ed30dd2e73019a30db58f5be7fe027cd9aea9969.tar.gz
sonarqube-ed30dd2e73019a30db58f5be7fe027cd9aea9969.zip
SONAR-6964 Do not display administration sensitive data when opening browser history
Diffstat (limited to 'server/sonar-web/src/main/webapp/WEB-INF')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/response.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/response.rb b/server/sonar-web/src/main/webapp/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/response.rb
index ff1702e845e..ac1b6d181c4 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/response.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/response.rb
@@ -204,7 +204,7 @@ module ActionController # :nodoc:
def set_conditional_cache_control!
if headers['Cache-Control'] == DEFAULT_HEADERS['Cache-Control']
- headers['Cache-Control'] = 'private, max-age=0, must-revalidate'
+ headers['Cache-Control'] = 'no-cache, no-store, must-revalidate'
end
end