Skip to content

Commit

Permalink
Merge branch '6-1-sec' into 6-1-stable
Browse files Browse the repository at this point in the history
* 6-1-sec:
  Preparing for 6.1.4.7 release
  bumping version
  Added image trasnformation validation via configurable allow-list
  • Loading branch information
tenderlove committed Mar 8, 2022
2 parents 13cdd7a + 6607333 commit b10c0ff
Show file tree
Hide file tree
Showing 37 changed files with 604 additions and 71 deletions.
106 changes: 53 additions & 53 deletions Gemfile.lock
Expand Up @@ -30,83 +30,83 @@ GIT
PATH
remote: .
specs:
actioncable (6.1.4.6)
actionpack (= 6.1.4.6)
activesupport (= 6.1.4.6)
actioncable (6.1.4.7)
actionpack (= 6.1.4.7)
activesupport (= 6.1.4.7)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailbox (6.1.4.6)
actionpack (= 6.1.4.6)
activejob (= 6.1.4.6)
activerecord (= 6.1.4.6)
activestorage (= 6.1.4.6)
activesupport (= 6.1.4.6)
actionmailbox (6.1.4.7)
actionpack (= 6.1.4.7)
activejob (= 6.1.4.7)
activerecord (= 6.1.4.7)
activestorage (= 6.1.4.7)
activesupport (= 6.1.4.7)
mail (>= 2.7.1)
actionmailer (6.1.4.6)
actionpack (= 6.1.4.6)
actionview (= 6.1.4.6)
activejob (= 6.1.4.6)
activesupport (= 6.1.4.6)
actionmailer (6.1.4.7)
actionpack (= 6.1.4.7)
actionview (= 6.1.4.7)
activejob (= 6.1.4.7)
activesupport (= 6.1.4.7)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (6.1.4.6)
actionview (= 6.1.4.6)
activesupport (= 6.1.4.6)
actionpack (6.1.4.7)
actionview (= 6.1.4.7)
activesupport (= 6.1.4.7)
rack (~> 2.0, >= 2.0.9)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (6.1.4.6)
actionpack (= 6.1.4.6)
activerecord (= 6.1.4.6)
activestorage (= 6.1.4.6)
activesupport (= 6.1.4.6)
actiontext (6.1.4.7)
actionpack (= 6.1.4.7)
activerecord (= 6.1.4.7)
activestorage (= 6.1.4.7)
activesupport (= 6.1.4.7)
nokogiri (>= 1.8.5)
actionview (6.1.4.6)
activesupport (= 6.1.4.6)
actionview (6.1.4.7)
activesupport (= 6.1.4.7)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activejob (6.1.4.6)
activesupport (= 6.1.4.6)
activejob (6.1.4.7)
activesupport (= 6.1.4.7)
globalid (>= 0.3.6)
activemodel (6.1.4.6)
activesupport (= 6.1.4.6)
activerecord (6.1.4.6)
activemodel (= 6.1.4.6)
activesupport (= 6.1.4.6)
activestorage (6.1.4.6)
actionpack (= 6.1.4.6)
activejob (= 6.1.4.6)
activerecord (= 6.1.4.6)
activesupport (= 6.1.4.6)
activemodel (6.1.4.7)
activesupport (= 6.1.4.7)
activerecord (6.1.4.7)
activemodel (= 6.1.4.7)
activesupport (= 6.1.4.7)
activestorage (6.1.4.7)
actionpack (= 6.1.4.7)
activejob (= 6.1.4.7)
activerecord (= 6.1.4.7)
activesupport (= 6.1.4.7)
marcel (~> 1.0)
mini_mime (>= 1.1.0)
activesupport (6.1.4.6)
activesupport (6.1.4.7)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
rails (6.1.4.6)
actioncable (= 6.1.4.6)
actionmailbox (= 6.1.4.6)
actionmailer (= 6.1.4.6)
actionpack (= 6.1.4.6)
actiontext (= 6.1.4.6)
actionview (= 6.1.4.6)
activejob (= 6.1.4.6)
activemodel (= 6.1.4.6)
activerecord (= 6.1.4.6)
activestorage (= 6.1.4.6)
activesupport (= 6.1.4.6)
rails (6.1.4.7)
actioncable (= 6.1.4.7)
actionmailbox (= 6.1.4.7)
actionmailer (= 6.1.4.7)
actionpack (= 6.1.4.7)
actiontext (= 6.1.4.7)
actionview (= 6.1.4.7)
activejob (= 6.1.4.7)
activemodel (= 6.1.4.7)
activerecord (= 6.1.4.7)
activestorage (= 6.1.4.7)
activesupport (= 6.1.4.7)
bundler (>= 1.15.0)
railties (= 6.1.4.6)
railties (= 6.1.4.7)
sprockets-rails (>= 2.0.0)
railties (6.1.4.6)
actionpack (= 6.1.4.6)
activesupport (= 6.1.4.6)
railties (6.1.4.7)
actionpack (= 6.1.4.7)
activesupport (= 6.1.4.7)
method_source
rake (>= 12.2)
thor (~> 1.0)
Expand Down
2 changes: 1 addition & 1 deletion RAILS_VERSION
@@ -1 +1 @@
6.1.4.6
6.1.4.7
5 changes: 5 additions & 0 deletions actioncable/CHANGELOG.md
Expand Up @@ -14,6 +14,11 @@
*J Smith*


## Rails 6.1.4.7 (March 08, 2022) ##

* No changes.


## Rails 6.1.4.6 (February 11, 2022) ##

* No changes.
Expand Down
2 changes: 1 addition & 1 deletion actioncable/lib/action_cable/gem_version.rb
Expand Up @@ -10,7 +10,7 @@ module VERSION
MAJOR = 6
MINOR = 1
TINY = 4
PRE = "6"
PRE = "7"

STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
Expand Down
2 changes: 1 addition & 1 deletion actioncable/package.json
@@ -1,6 +1,6 @@
{
"name": "@rails/actioncable",
"version": "6.1.4-6",
"version": "6.1.4-7",
"description": "WebSocket framework for Ruby on Rails.",
"main": "app/assets/javascripts/action_cable.js",
"files": [
Expand Down
5 changes: 5 additions & 0 deletions actionmailbox/CHANGELOG.md
Expand Up @@ -11,6 +11,11 @@
*David Jones*, *Dana Henke*


## Rails 6.1.4.7 (March 08, 2022) ##

* No changes.


## Rails 6.1.4.6 (February 11, 2022) ##

* No changes.
Expand Down
2 changes: 1 addition & 1 deletion actionmailbox/lib/action_mailbox/gem_version.rb
Expand Up @@ -10,7 +10,7 @@ module VERSION
MAJOR = 6
MINOR = 1
TINY = 4
PRE = "6"
PRE = "7"

STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
Expand Down
5 changes: 5 additions & 0 deletions actionmailer/CHANGELOG.md
@@ -1,3 +1,8 @@
## Rails 6.1.4.7 (March 08, 2022) ##

* No changes.


## Rails 6.1.4.6 (February 11, 2022) ##

* No changes.
Expand Down
2 changes: 1 addition & 1 deletion actionmailer/lib/action_mailer/gem_version.rb
Expand Up @@ -10,7 +10,7 @@ module VERSION
MAJOR = 6
MINOR = 1
TINY = 4
PRE = "6"
PRE = "7"

STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
Expand Down
5 changes: 5 additions & 0 deletions actionpack/CHANGELOG.md
Expand Up @@ -24,6 +24,11 @@
*Nikita Vyrko*


## Rails 6.1.4.7 (March 08, 2022) ##

* No changes.


## Rails 6.1.4.6 (February 11, 2022) ##

* No changes.
Expand Down
2 changes: 1 addition & 1 deletion actionpack/lib/action_pack/gem_version.rb
Expand Up @@ -10,7 +10,7 @@ module VERSION
MAJOR = 6
MINOR = 1
TINY = 4
PRE = "6"
PRE = "7"

STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
Expand Down
5 changes: 5 additions & 0 deletions actiontext/CHANGELOG.md
@@ -1,3 +1,8 @@
## Rails 6.1.4.7 (March 08, 2022) ##

* No changes.


## Rails 6.1.4.6 (February 11, 2022) ##

* No changes.
Expand Down
2 changes: 1 addition & 1 deletion actiontext/lib/action_text/gem_version.rb
Expand Up @@ -10,7 +10,7 @@ module VERSION
MAJOR = 6
MINOR = 1
TINY = 4
PRE = "6"
PRE = "7"

STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
Expand Down
2 changes: 1 addition & 1 deletion actiontext/package.json
@@ -1,6 +1,6 @@
{
"name": "@rails/actiontext",
"version": "6.1.4-6",
"version": "6.1.4-7",
"description": "Edit and display rich text in Rails applications",
"main": "app/javascript/actiontext/index.js",
"files": [
Expand Down
5 changes: 5 additions & 0 deletions actionview/CHANGELOG.md
Expand Up @@ -3,6 +3,11 @@
*Nate Berkopec*


## Rails 6.1.4.7 (March 08, 2022) ##

* No changes.


## Rails 6.1.4.6 (February 11, 2022) ##

* No changes.
Expand Down
2 changes: 1 addition & 1 deletion actionview/lib/action_view/gem_version.rb
Expand Up @@ -10,7 +10,7 @@ module VERSION
MAJOR = 6
MINOR = 1
TINY = 4
PRE = "6"
PRE = "7"

STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
Expand Down
2 changes: 1 addition & 1 deletion actionview/package.json
@@ -1,6 +1,6 @@
{
"name": "@rails/ujs",
"version": "6.1.4-6",
"version": "6.1.4-7",
"description": "Ruby on Rails unobtrusive scripting adapter",
"main": "lib/assets/compiled/rails-ujs.js",
"files": [
Expand Down
5 changes: 5 additions & 0 deletions activejob/CHANGELOG.md
@@ -1,3 +1,8 @@
## Rails 6.1.4.7 (March 08, 2022) ##

* No changes.


## Rails 6.1.4.6 (February 11, 2022) ##

* No changes.
Expand Down
2 changes: 1 addition & 1 deletion activejob/lib/active_job/gem_version.rb
Expand Up @@ -10,7 +10,7 @@ module VERSION
MAJOR = 6
MINOR = 1
TINY = 4
PRE = "6"
PRE = "7"

STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
Expand Down
5 changes: 5 additions & 0 deletions activemodel/CHANGELOG.md
Expand Up @@ -23,6 +23,11 @@
*Benoit Daloze*


## Rails 6.1.4.7 (March 08, 2022) ##

* No changes.


## Rails 6.1.4.6 (February 11, 2022) ##

* No changes.
Expand Down
2 changes: 1 addition & 1 deletion activemodel/lib/active_model/gem_version.rb
Expand Up @@ -10,7 +10,7 @@ module VERSION
MAJOR = 6
MINOR = 1
TINY = 4
PRE = "6"
PRE = "7"

STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
Expand Down
5 changes: 5 additions & 0 deletions activerecord/CHANGELOG.md
Expand Up @@ -59,6 +59,11 @@
* `ActiveRecord::Base.logger` is now a `class_attribute`.


## Rails 6.1.4.7 (March 08, 2022) ##

* No changes.


## Rails 6.1.4.6 (February 11, 2022) ##

* No changes.
Expand Down
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/gem_version.rb
Expand Up @@ -10,7 +10,7 @@ module VERSION
MAJOR = 6
MINOR = 1
TINY = 4
PRE = "6"
PRE = "7"

STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
Expand Down
10 changes: 10 additions & 0 deletions activestorage/CHANGELOG.md
Expand Up @@ -5,6 +5,16 @@
*Don Sisco*


## Rails 6.1.4.7 (March 08, 2022) ##

* Added image transformation validation via configurable allow-list.

Variant now offers a configurable allow-list for
transformation methods in addition to a configurable deny-list for arguments.

[CVE-2022-21831]


## Rails 6.1.4.6 (February 11, 2022) ##

* No changes.
Expand Down
3 changes: 3 additions & 0 deletions activestorage/lib/active_storage.rb
Expand Up @@ -58,6 +58,9 @@ module ActiveStorage
mattr_accessor :content_types_to_serve_as_binary, default: []
mattr_accessor :content_types_allowed_inline, default: []

mattr_accessor :supported_image_processing_methods, default: []
mattr_accessor :unsupported_image_processing_arguments

mattr_accessor :service_urls_expire_in, default: 5.minutes

mattr_accessor :routes_prefix, default: "/rails/active_storage"
Expand Down

0 comments on commit b10c0ff

Please sign in to comment.