A platform for community discussion. Free, open, simple.
SECURITY: Bump Rails to 7.0.3.1 (#17469)
David Tayloree07f6da7d11
diff --git a/Gemfile b/Gemfileindex f7271515eb0..d79721ab73d 100644--- a/Gemfile+++ b/Gemfile@@ -18,7 +18,7 @@ else# this allows us to include the bits of rails we use without pieces we do not.## To issue a rails update bump the version number here- rails_version = '7.0.3'+ rails_version = '7.0.3.1'gem 'actionmailer', rails_versiongem 'actionpack', rails_versiongem 'actionview', rails_versiondiff --git a/Gemfile.lock b/Gemfile.lockindex 7d9b09679f5..b08b72848d3 100644--- a/Gemfile.lock+++ b/Gemfile.lock@@ -8,25 +8,25 @@ GITGEMremote: https://rubygems.org/specs:- actionmailer (7.0.3)- actionpack (= 7.0.3)- actionview (= 7.0.3)- activejob (= 7.0.3)- activesupport (= 7.0.3)+ actionmailer (7.0.3.1)+ actionpack (= 7.0.3.1)+ actionview (= 7.0.3.1)+ activejob (= 7.0.3.1)+ activesupport (= 7.0.3.1)mail (~> 2.5, >= 2.5.4)net-imapnet-popnet-smtprails-dom-testing (~> 2.0)- actionpack (7.0.3)- actionview (= 7.0.3)- activesupport (= 7.0.3)+ actionpack (7.0.3.1)+ actionview (= 7.0.3.1)+ activesupport (= 7.0.3.1)rack (~> 2.0, >= 2.2.0)rack-test (>= 0.6.3)rails-dom-testing (~> 2.0)rails-html-sanitizer (~> 1.0, >= 1.2.0)- actionview (7.0.3)- activesupport (= 7.0.3)+ actionview (7.0.3.1)+ activesupport (= 7.0.3.1)builder (~> 3.1)erubi (~> 1.4)rails-dom-testing (~> 2.0)@@ -35,15 +35,15 @@ GEMactionview (>= 6.0.a)active_model_serializers (0.8.4)activemodel (>= 3.0)- activejob (7.0.3)- activesupport (= 7.0.3)+ activejob (7.0.3.1)+ activesupport (= 7.0.3.1)globalid (>= 0.3.6)- activemodel (7.0.3)- activesupport (= 7.0.3)- activerecord (7.0.3)- activemodel (= 7.0.3)- activesupport (= 7.0.3)- activesupport (7.0.3)+ activemodel (7.0.3.1)+ activesupport (= 7.0.3.1)+ activerecord (7.0.3.1)+ activemodel (= 7.0.3.1)+ activesupport (= 7.0.3.1)+ activesupport (7.0.3.1)concurrent-ruby (~> 1.0, >= 1.0.2)i18n (>= 1.6, < 2)minitest (>= 5.1)@@ -349,9 +349,9 @@ GEMrails_multisite (4.0.1)activerecord (> 5.0, < 7.1)railties (> 5.0, < 7.1)- railties (7.0.3)- actionpack (= 7.0.3)- activesupport (= 7.0.3)+ railties (7.0.3.1)+ actionpack (= 7.0.3.1)+ activesupport (= 7.0.3.1)method_sourcerake (>= 12.2)thor (~> 1.0)@@ -510,14 +510,14 @@ PLATFORMSx86_64-linuxDEPENDENCIES- actionmailer (= 7.0.3)- actionpack (= 7.0.3)- actionview (= 7.0.3)+ actionmailer (= 7.0.3.1)+ actionpack (= 7.0.3.1)+ actionview (= 7.0.3.1)actionview_precompileractive_model_serializers (~> 0.8.3)- activemodel (= 7.0.3)- activerecord (= 7.0.3)- activesupport (= 7.0.3)+ activemodel (= 7.0.3.1)+ activerecord (= 7.0.3.1)+ activesupport (= 7.0.3.1)addressableannotateaws-sdk-s3@@ -597,7 +597,7 @@ DEPENDENCIESrack-protectionrails_failoverrails_multisite- railties (= 7.0.3)+ railties (= 7.0.3.1)rakerb-fseventrbtracediff --git a/config/application.rb b/config/application.rbindex f31b720b854..95cc79e1d98 100644--- a/config/application.rb+++ b/config/application.rb@@ -102,6 +102,7 @@ module Discourseconfig.action_controller.forgery_protection_origin_check = falseconfig.active_record.belongs_to_required_by_default = falseconfig.active_record.legacy_connection_handling = true+ config.active_record.yaml_column_permitted_classes = [Hash, HashWithIndifferentAccess]# we skip it cause we configure it in the initializer# the railtie for message_bus would insert it in the