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

config/application.rb

index d77d37e705eceddcb22551782f71a696743c8c58..08a02d411b3d0e8041681a1c2cfbba24cefa251b 100644 (file)
@@ -51,7 +51,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