actionpack 6.1.7.8 → 6.1.7.10
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 461cf7a6378132710f52c315547afbb00faac1f6fb46b118844c1f626fd3e2b9
|
4
|
+
data.tar.gz: 4200715c83ffc68c6d84411f9a1b2d87419790f5335efcd24bec8c768cbe539a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7eb7add5c50bfaaa3f9ccd7961764931d34cd90de7ac31739cf202510eaa68304d32d4f998b0f07c3b55ca6f7c27d98ef3c620e526da8d200ec3f4f4a8694fcd
|
7
|
+
data.tar.gz: c97725476e0af940885c9e5d406118ecbc35e889a0274002e1770634fd774ab16d3fc68e94c276407adc1bb9a59bd95baea8c2dd514c789bb6228e90ffc073a0
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
## Rails 6.1.7.10 (October 23, 2024) ##
|
2
|
+
|
3
|
+
* No changes.
|
4
|
+
|
5
|
+
|
6
|
+
## Rails 6.1.7.9 (October 15, 2024) ##
|
7
|
+
|
8
|
+
* Avoid regex backtracking in HTTP Token authentication
|
9
|
+
|
10
|
+
[CVE-2024-47887]
|
11
|
+
|
12
|
+
* Avoid regex backtracking in query parameter filtering
|
13
|
+
|
14
|
+
[CVE-2024-41128]
|
15
|
+
|
16
|
+
|
1
17
|
## Rails 6.1.7.8 (June 04, 2024) ##
|
2
18
|
|
3
19
|
* Include the HTTP Permissions-Policy on non-HTML Content-Types
|
@@ -483,7 +483,8 @@ module ActionController
|
|
483
483
|
# pairs by the standardized <tt>:</tt>, <tt>;</tt>, or <tt>\t</tt>
|
484
484
|
# delimiters defined in +AUTHN_PAIR_DELIMITERS+.
|
485
485
|
def raw_params(auth)
|
486
|
-
_raw_params = auth.sub(TOKEN_REGEX, "").split(
|
486
|
+
_raw_params = auth.sub(TOKEN_REGEX, "").split(AUTHN_PAIR_DELIMITERS).map(&:strip)
|
487
|
+
_raw_params.reject!(&:empty?)
|
487
488
|
|
488
489
|
if !_raw_params.first&.start_with?(TOKEN_KEY)
|
489
490
|
_raw_params[0] = "#{TOKEN_KEY}#{_raw_params.first}"
|
@@ -73,12 +73,17 @@ module ActionDispatch
|
|
73
73
|
ActiveSupport::ParameterFilter.new(filters)
|
74
74
|
end
|
75
75
|
|
76
|
-
KV_RE = "[^&;=]+"
|
77
|
-
PAIR_RE = %r{(#{KV_RE})=(#{KV_RE})}
|
78
76
|
def filtered_query_string # :doc:
|
79
|
-
query_string.
|
80
|
-
|
77
|
+
parts = query_string.split(/([&;])/)
|
78
|
+
filtered_parts = parts.map do |part|
|
79
|
+
if part.include?("=")
|
80
|
+
key, value = part.split("=", 2)
|
81
|
+
parameter_filter.filter(key => value).first.join("=")
|
82
|
+
else
|
83
|
+
part
|
84
|
+
end
|
81
85
|
end
|
86
|
+
filtered_parts.join("")
|
82
87
|
end
|
83
88
|
end
|
84
89
|
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.
|
4
|
+
version: 6.1.7.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-23 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.
|
19
|
+
version: 6.1.7.10
|
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.
|
26
|
+
version: 6.1.7.10
|
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.
|
101
|
+
version: 6.1.7.10
|
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.
|
108
|
+
version: 6.1.7.10
|
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.
|
115
|
+
version: 6.1.7.10
|
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.
|
122
|
+
version: 6.1.7.10
|
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,12 +309,12 @@ 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.
|
313
|
-
documentation_uri: https://api.rubyonrails.org/v6.1.7.
|
312
|
+
changelog_uri: https://github.com/rails/rails/blob/v6.1.7.10/actionpack/CHANGELOG.md
|
313
|
+
documentation_uri: https://api.rubyonrails.org/v6.1.7.10/
|
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.
|
315
|
+
source_code_uri: https://github.com/rails/rails/tree/v6.1.7.10/actionpack
|
316
316
|
rubygems_mfa_required: 'true'
|
317
|
-
post_install_message:
|
317
|
+
post_install_message:
|
318
318
|
rdoc_options: []
|
319
319
|
require_paths:
|
320
320
|
- lib
|
@@ -330,8 +330,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
330
330
|
version: '0'
|
331
331
|
requirements:
|
332
332
|
- none
|
333
|
-
rubygems_version: 3.
|
334
|
-
signing_key:
|
333
|
+
rubygems_version: 3.5.16
|
334
|
+
signing_key:
|
335
335
|
specification_version: 4
|
336
336
|
summary: Web-flow and rendering framework putting the VC in MVC (part of Rails).
|
337
337
|
test_files: []
|