From: Go MAEDA Date: Wed, 28 Sep 2022 06:36:07 +0000 (+0000) Subject: Fix Psych::DisallowedClass exception when loading plugin settings saved with Rails... X-Git-Tag: 5.1.0~400 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6a039db0860fbb1f715786e4ec306c434a4b6aab;p=redmine.git 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 --- 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"