actionpack 6.1.7.7 → 6.1.7.8

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of actionpack might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 205004120a6da1bd9f41fd3214ae124b861c46d02efa302ad5cd6e76ae8a7f54
4
- data.tar.gz: fd92a15b1a7beed26910076fcec04a9e28143e96e6016b7f4cfd18654c85aa12
3
+ metadata.gz: 17584c20c784e0606e3937eddab9fabb4a5f55fd9d84ab642eae24bbc177c4e3
4
+ data.tar.gz: 8a113cee87d7d51be4a47ae65e723a73f5ba7cdfc73b98971b347f6661214ee4
5
5
  SHA512:
6
- metadata.gz: 10e83333b2ee3da5b0210b6cd45e5e4520177e333e61b3e465301ad4e327baaa859b4462415b898ee76f42d5adc4815788d23d7c8d3b2aa5e104c7c74680cc97
7
- data.tar.gz: 69dfca4a29df0b5b666cd7f918e672901a668f2a662f83aa38d60d3c11ce44cae4329e22c353958f4ab1bf511a0fdf03631fb20300d4717a5a66945519d2021a
6
+ metadata.gz: 25325ea54a87cdbe34ed8b666108fd41041009e85f442add0b3e661f71a58b2eab5bce5e804a23f35c3e7378940eaf37475d2d1f5f71496b44df10a66b9f565d
7
+ data.tar.gz: 39564370b55e81c747a96a6a9f212b301d5ca3ed04f8d1aad662455fecd4d5fb85a71869b0d99769d81d240cca4c3ee06846d4a17422c8c9d32eb5037fce89ae
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## Rails 6.1.7.8 (June 04, 2024) ##
2
+
3
+ * Include the HTTP Permissions-Policy on non-HTML Content-Types
4
+ [CVE-2024-28103]
5
+
6
+
1
7
  ## Rails 6.1.7.7 (February 21, 2024) ##
2
8
 
3
9
  * No changes.
@@ -21,7 +21,6 @@ module ActionDispatch #:nodoc:
21
21
  request = ActionDispatch::Request.new(env)
22
22
  _, headers, _ = response = @app.call(env)
23
23
 
24
- return response unless html_response?(headers)
25
24
  return response if policy_present?(headers)
26
25
 
27
26
  if policy = request.permissions_policy
@@ -36,12 +35,6 @@ module ActionDispatch #:nodoc:
36
35
  end
37
36
 
38
37
  private
39
- def html_response?(headers)
40
- if content_type = headers[CONTENT_TYPE]
41
- /html/.match?(content_type)
42
- end
43
- end
44
-
45
38
  def policy_present?(headers)
46
39
  headers[POLICY]
47
40
  end
@@ -10,7 +10,7 @@ module ActionPack
10
10
  MAJOR = 6
11
11
  MINOR = 1
12
12
  TINY = 7
13
- PRE = "7"
13
+ PRE = "8"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionpack
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.7.7
4
+ version: 6.1.7.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-21 00:00:00.000000000 Z
11
+ date: 2024-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 6.1.7.7
19
+ version: 6.1.7.8
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 6.1.7.7
26
+ version: 6.1.7.8
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rack
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -98,28 +98,28 @@ dependencies:
98
98
  requirements:
99
99
  - - '='
100
100
  - !ruby/object:Gem::Version
101
- version: 6.1.7.7
101
+ version: 6.1.7.8
102
102
  type: :runtime
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - '='
107
107
  - !ruby/object:Gem::Version
108
- version: 6.1.7.7
108
+ version: 6.1.7.8
109
109
  - !ruby/object:Gem::Dependency
110
110
  name: activemodel
111
111
  requirement: !ruby/object:Gem::Requirement
112
112
  requirements:
113
113
  - - '='
114
114
  - !ruby/object:Gem::Version
115
- version: 6.1.7.7
115
+ version: 6.1.7.8
116
116
  type: :development
117
117
  prerelease: false
118
118
  version_requirements: !ruby/object:Gem::Requirement
119
119
  requirements:
120
120
  - - '='
121
121
  - !ruby/object:Gem::Version
122
- version: 6.1.7.7
122
+ version: 6.1.7.8
123
123
  description: Web apps on Rails. Simple, battle-tested conventions for building and
124
124
  testing MVC web applications. Works with any Rack-compatible server.
125
125
  email: david@loudthinking.com
@@ -309,10 +309,10 @@ licenses:
309
309
  - MIT
310
310
  metadata:
311
311
  bug_tracker_uri: https://github.com/rails/rails/issues
312
- changelog_uri: https://github.com/rails/rails/blob/v6.1.7.7/actionpack/CHANGELOG.md
313
- documentation_uri: https://api.rubyonrails.org/v6.1.7.7/
312
+ changelog_uri: https://github.com/rails/rails/blob/v6.1.7.8/actionpack/CHANGELOG.md
313
+ documentation_uri: https://api.rubyonrails.org/v6.1.7.8/
314
314
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
315
- source_code_uri: https://github.com/rails/rails/tree/v6.1.7.7/actionpack
315
+ source_code_uri: https://github.com/rails/rails/tree/v6.1.7.8/actionpack
316
316
  rubygems_mfa_required: 'true'
317
317
  post_install_message:
318
318
  rdoc_options: []
@@ -330,7 +330,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
330
330
  version: '0'
331
331
  requirements:
332
332
  - none
333
- rubygems_version: 3.2.22
333
+ rubygems_version: 3.3.27
334
334
  signing_key:
335
335
  specification_version: 4
336
336
  summary: Web-flow and rendering framework putting the VC in MVC (part of Rails).