From 6a039db0860fbb1f715786e4ec306c434a4b6aab Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 28 Sep 2022 06:36:07 +0000 Subject: [PATCH] Fix Psych::DisallowedClass exception when loading plugin settings saved with Rails 4.2 (#37452, #37719). Patch by Alexander Meindl. git-svn-id: https://svn.redmine.org/redmine/trunk@21863 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/application.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/application.rb b/config/application.rb index 0a2d2f1fc..1b22feb12 100644 --- a/config/application.rb +++ b/config/application.rb @@ -34,7 +34,8 @@ module RedmineApp config.active_record.default_timezone = :local config.active_record.yaml_column_permitted_classes = [ Symbol, - ActiveSupport::HashWithIndifferentAccess + ActiveSupport::HashWithIndifferentAccess, + ActionController::Parameters ] config.action_mailer.delivery_job = "ActionMailer::MailDeliveryJob" -- 2.39.5