From d0aaab0fe909d9a7a921c1f8241fb6f320d1befe Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 30 Sep 2020 22:09:22 +0000 Subject: Add latest changes from gitlab-org/security/gitlab@13-2-stable-ee --- app/controllers/projects/raw_controller.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/controllers/projects/raw_controller.rb') diff --git a/app/controllers/projects/raw_controller.rb b/app/controllers/projects/raw_controller.rb index 69a3898af55..29f1e4bfd44 100644 --- a/app/controllers/projects/raw_controller.rb +++ b/app/controllers/projects/raw_controller.rb @@ -12,6 +12,7 @@ class Projects::RawController < Projects::ApplicationController before_action :authorize_download_code! before_action :show_rate_limit, only: [:show], unless: :external_storage_request? before_action :assign_ref_vars + before_action :no_cache_headers, only: [:show] before_action :redirect_to_external_storage, only: :show, if: :static_objects_external_storage_enabled? def show -- cgit v1.2.1