diff options
author | Go MAEDA <maeda@farend.jp> | 2022-10-26 14:04:46 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2022-10-26 14:04:46 +0000 |
commit | 2d7d2c1bac9d6b2ea9b98c20f396594817c9d4ab (patch) | |
tree | fa8c18278661892b106997f4f6f22e20319282e5 | |
parent | 327f6e118b4495dcf70f669affffd81b5bf10faa (diff) | |
download | redmine-2d7d2c1bac9d6b2ea9b98c20f396594817c9d4ab.tar.gz redmine-2d7d2c1bac9d6b2ea9b98c20f396594817c9d4ab.zip |
Add Date and Time classes to yaml_column_permitted_classes (#37814).
Patch by Felix Schäfer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21923 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | config/application.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb index 1b22feb12..5e93df122 100644 --- a/config/application.rb +++ b/config/application.rb @@ -33,6 +33,8 @@ module RedmineApp config.active_record.store_full_sti_class = true config.active_record.default_timezone = :local config.active_record.yaml_column_permitted_classes = [ + Date, + Time, Symbol, ActiveSupport::HashWithIndifferentAccess, ActionController::Parameters |