actionmailer 7.2.1 → 7.2.1.1

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: cfd62a67b34f5ffbe38bb284730e876dd4d087c9ea832ed27ee9a2d187c5556c
4
- data.tar.gz: 27a1667ccd71d3057b3754c8488ca8fa390fda5a73f4eaaa331ea8b8887dad8d
3
+ metadata.gz: dead7aa73f10df3907e7314902d2bb322b089bc0d4e22d01e916e9cf7ecd4c18
4
+ data.tar.gz: e8477ce5f9c8795700aeb5ab20b7f8d3581df9aeaefcdb5bac3d9587770f0600
5
5
  SHA512:
6
- metadata.gz: 2a31fd2ed2741df5e367a9e25dc1cc5cf77c90e2eedcf7d19a1b93ddb026163dbb9e039e0676b40b92215e82834924dd5b049131cc2b9237e733f7e351f49de0
7
- data.tar.gz: 2c12ff37df983cf4318db450af5bf8f3dd10b24a51a4ce546d25f1c2aab7b566771d53f4f1ac34449d752f44b8746d4aa78c8e91c859d28c0dec67bafae1f73d
6
+ metadata.gz: b73dae035cf3b87e7f4e67a32c7f968edfd29bd2b692887175d9087151fac4e4ec13cff35b6c32659fd3511f770ddbd2c668a55d39b38fbffb1f4cbd4e705c28
7
+ data.tar.gz: af0abdca9964dbcf323908273817327ffc89fd4e4da37643ba55c230a6536a6ede26e3599c82b2ae4ae3176ba98c6f3dd3fa383f63f6c8f031390b73c68dcd39
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## Rails 7.2.1.1 (October 15, 2024) ##
2
+
3
+ * Avoid regex backtracking in `block_format` helper
4
+
5
+ [CVE-2024-47889]
6
+
1
7
  ## Rails 7.2.1 (August 22, 2024) ##
2
8
 
3
9
  * No changes.
@@ -10,7 +10,7 @@ module ActionMailer
10
10
  MAJOR = 7
11
11
  MINOR = 2
12
12
  TINY = 1
13
- PRE = nil
13
+ PRE = "1"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -25,10 +25,18 @@ module ActionMailer
25
25
  }.join("\n\n")
26
26
 
27
27
  # Make list points stand on their own line
28
- formatted.gsub!(/[ ]*([*]+) ([^*]*)/) { " #{$1} #{$2.strip}\n" }
29
- formatted.gsub!(/[ ]*([#]+) ([^#]*)/) { " #{$1} #{$2.strip}\n" }
28
+ output = +""
29
+ splits = formatted.split(/(\*+|\#+)/)
30
+ while line = splits.shift
31
+ if line.start_with?("*", "#") && splits[0].start_with?(" ")
32
+ output.chomp!(" ") while output.end_with?(" ")
33
+ output << " #{line} #{splits.shift.strip}\n"
34
+ else
35
+ output << line
36
+ end
37
+ end
30
38
 
31
- formatted
39
+ output
32
40
  end
33
41
 
34
42
  # Access the mailer instance.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionmailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.2.1
4
+ version: 7.2.1.1
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-08-22 00:00:00.000000000 Z
11
+ date: 2024-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 7.2.1
19
+ version: 7.2.1.1
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: 7.2.1
26
+ version: 7.2.1.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: actionpack
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 7.2.1
33
+ version: 7.2.1.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 7.2.1
40
+ version: 7.2.1.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: actionview
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 7.2.1
47
+ version: 7.2.1.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 7.2.1
54
+ version: 7.2.1.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: activejob
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 7.2.1
61
+ version: 7.2.1.1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 7.2.1
68
+ version: 7.2.1.1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: mail
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -134,12 +134,12 @@ licenses:
134
134
  - MIT
135
135
  metadata:
136
136
  bug_tracker_uri: https://github.com/rails/rails/issues
137
- changelog_uri: https://github.com/rails/rails/blob/v7.2.1/actionmailer/CHANGELOG.md
138
- documentation_uri: https://api.rubyonrails.org/v7.2.1/
137
+ changelog_uri: https://github.com/rails/rails/blob/v7.2.1.1/actionmailer/CHANGELOG.md
138
+ documentation_uri: https://api.rubyonrails.org/v7.2.1.1/
139
139
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
140
- source_code_uri: https://github.com/rails/rails/tree/v7.2.1/actionmailer
140
+ source_code_uri: https://github.com/rails/rails/tree/v7.2.1.1/actionmailer
141
141
  rubygems_mfa_required: 'true'
142
- post_install_message:
142
+ post_install_message:
143
143
  rdoc_options: []
144
144
  require_paths:
145
145
  - lib
@@ -155,8 +155,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  version: '0'
156
156
  requirements:
157
157
  - none
158
- rubygems_version: 3.5.11
159
- signing_key:
158
+ rubygems_version: 3.5.16
159
+ signing_key:
160
160
  specification_version: 4
161
161
  summary: Email composition and delivery framework (part of Rails).
162
162
  test_files: []