]> source.dussan.org Git - redmine.git/commitdiff
Fix Psych::DisallowedClass exception when loading plugin settings saved with Rails...
authorGo MAEDA <maeda@farend.jp>
Wed, 28 Sep 2022 06:36:07 +0000 (06:36 +0000)
committerGo MAEDA <maeda@farend.jp>
Wed, 28 Sep 2022 06:36:07 +0000 (06:36 +0000)
Patch by Alexander Meindl.

git-svn-id: https://svn.redmine.org/redmine/trunk@21863 e93f8b46-1217-0410-a6f0-8f06a7374b81

config/application.rb

index 0a2d2f1fca4d9f2514c9d2cec0e200a485a9689a..1b22feb12ec6baa12158f00a1a65a904eaeee395 100644 (file)
@@ -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"