Browse Source

X-Sendfile header field is not set if rack 2.1.0 is installed (#32785).


git-svn-id: http://svn.redmine.org/redmine/trunk@19416 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.2.0
Go MAEDA 4 years ago
parent
commit
6875edabd7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      config/application.rb

+ 1
- 1
config/application.rb View 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

Loading…
Cancel
Save