From 10ed8d27e47da893c5533cffea2e8fdffccf2de1 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Sun, 12 Jan 2020 06:14:33 +0000 Subject: [PATCH] Merged r19416 from trunk to 4.1-stable (#32785). git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@19417 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/application.rb b/config/application.rb index a06ee4dba..86b695d42 100644 --- a/config/application.rb +++ b/config/application.rb @@ -60,7 +60,7 @@ module RedmineApp config.active_record.sqlite3.represent_boolean_as_integer = true # Sets the Content-Length header on responses with fixed-length bodies - config.middleware.insert_after Rack::Sendfile, Rack::ContentLength + config.middleware.insert_before Rack::Sendfile, Rack::ContentLength # Verify validity of user sessions config.redmine_verify_sessions = true -- 2.39.5