Skip to content

Commit

Permalink
Merged r3051 from trunk with some changes for 0.8 sessions.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.8-stable@3053 e93f8b46-1217-0410-a6f0-8f06a7374b81
  • Loading branch information
edavis10 committed Nov 14, 2009
1 parent ce41d4f commit 051741f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/application.rb
Expand Up @@ -23,6 +23,7 @@ class ApplicationController < ActionController::Base

before_filter :user_setup, :check_if_login_required, :set_localization
filter_parameter_logging :password
protect_from_forgery :secret => session.first[:secret]

include Redmine::MenuManager::MenuController
helper Redmine::MenuManager::MenuHelper
Expand Down
3 changes: 3 additions & 0 deletions config/environments/test.rb
Expand Up @@ -15,3 +15,6 @@

config.action_mailer.perform_deliveries = true
config.action_mailer.delivery_method = :test

# Skip protect_from_forgery in requests http://m.onkey.org/2007/9/28/csrf-protection-for-your-existing-rails-application
config.action_controller.allow_forgery_protection = false
4 changes: 4 additions & 0 deletions config/environments/test_pgsql.rb
Expand Up @@ -15,3 +15,7 @@

config.action_mailer.perform_deliveries = true
config.action_mailer.delivery_method = :test

# Skip protect_from_forgery in requests http://m.onkey.org/2007/9/28/csrf-protection-for-your-existing-rails-application
config.action_controller.allow_forgery_protection = false

3 changes: 3 additions & 0 deletions config/environments/test_sqlite3.rb
Expand Up @@ -15,3 +15,6 @@

config.action_mailer.perform_deliveries = true
config.action_mailer.delivery_method = :test

# Skip protect_from_forgery in requests http://m.onkey.org/2007/9/28/csrf-protection-for-your-existing-rails-application
config.action_controller.allow_forgery_protection = false
1 change: 1 addition & 0 deletions doc/CHANGELOG
Expand Up @@ -11,6 +11,7 @@ http://www.redmine.org/
* Fixed: First date of the date range not included in the time report with SQLite
* Fixed: Password field not styled correctly on alternative stylesheet
* Fixed: Error when sumbitting a POST request that requires a login
* Fixed: CSRF vulnerabilities

== 2009-11-04 v0.8.6

Expand Down

0 comments on commit 051741f

Please sign in to comment.