diff options
author | taca <taca@pkgsrc.org> | 2022-07-13 14:44:08 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2022-07-13 14:44:08 +0000 |
commit | b901e521bec1e116801714b1f5cb131f5d72cb34 (patch) | |
tree | d911f8f33fc0e3c097444402f18282be4e16ac1e /lang | |
parent | cdfe1aa67e8978ac27ae951e7ba7260206569b56 (diff) | |
download | pkgsrc-b901e521bec1e116801714b1f5cb131f5d72cb34.tar.gz |
www/ruby-rails60: update to 6.0.5.1
Rails 6.0.5.1 (2022-07-12) updates databases/ruby-activerecord60 only.
databases/ruby-activerecord60
* Change ActiveRecord::Coders::YAMLColumn default to safe_load
This adds two new configuration options The configuration options are as
follows:
o config.active_storage.use_yaml_unsafe_load
When set to true, this configuration option tells Rails to use the old
"unsafe" YAML loading strategy, maintaining the existing behavior but
leaving the possible escalation vulnerability in place. Setting this
option to true is *not* recommended, but can aid in upgrading.
o config.active_record.yaml_column_permitted_classes
The "safe YAML" loading method does not allow all classes to be
deserialized by default. This option allows you to specify classes deemed
"safe" in your application. For example, if your application uses Symbol
and Time in serialized data, you can add Symbol and Time to the allowed
list as follows:
config.active_record.yaml_column_permitted_classes = [Symbol, Date, Time]
[CVE-2022-32224]
Diffstat (limited to 'lang')
-rw-r--r-- | lang/ruby/rails.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/ruby/rails.mk b/lang/ruby/rails.mk index 750970e662f..cb69ac09b6d 100644 --- a/lang/ruby/rails.mk +++ b/lang/ruby/rails.mk @@ -1,4 +1,4 @@ -# $NetBSD: rails.mk,v 1.129 2022/07/13 14:41:07 taca Exp $ +# $NetBSD: rails.mk,v 1.130 2022/07/13 14:44:08 taca Exp $ .if !defined(_RUBY_RAILS_MK) _RUBY_RAILS_MK= # defined @@ -48,7 +48,7 @@ _RUBY_RAILS_MK= # defined # current Ruby on Rails versions. # RUBY_RAILS52_VERSION?= 5.2.8.1 -RUBY_RAILS60_VERSION?= 6.0.5 +RUBY_RAILS60_VERSION?= 6.0.5.1 RUBY_RAILS61_VERSION?= 6.1.6 RUBY_RAILS70_VERSION?= 7.0.3 |