]> source.dussan.org Git - redmine.git/commitdiff
Merged r19416 from trunk to 4.1-stable (#32785).
authorGo MAEDA <maeda@farend.jp>
Sun, 12 Jan 2020 06:14:33 +0000 (06:14 +0000)
committerGo MAEDA <maeda@farend.jp>
Sun, 12 Jan 2020 06:14:33 +0000 (06:14 +0000)
git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@19417 e93f8b46-1217-0410-a6f0-8f06a7374b81

config/application.rb

index a06ee4dbab6eabfb22e1bc89b936c6f5f438eba2..86b695d42dc91123d06a0716fb7510afb827ade6 100644 (file)
@@ -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