actionview 8.0.4 → 8.0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aeb3faebba3888c2547df27d7cc538badd8e00fe9e5f71c9038e6152871faf81
4
- data.tar.gz: e30a30ad64c05a3074f3f8907755988164422b061d1ea3c7e84333c54f4aa07e
3
+ metadata.gz: db69362edf94a58af2281f36919c695039e5e2e7be5707b36ee6a6553deaddcf
4
+ data.tar.gz: 4343c2bcf50ed9237feb87fb8c295e16ae37b5bda5b66573d0f47d3efb2fb40c
5
5
  SHA512:
6
- metadata.gz: 103df643034496a2a5adf3f9b316287afdfa4a54926a08fc04376f9f49bb9667e28ed713487657b293a587b7a2cd07962811938fe194f22c3c686a68b4de0eb7
7
- data.tar.gz: 3f6a06ab5713e1fa37ea1afa727bfc4b145335c6d329228446020383bab4b73d9322736ec6f0afed3f7b033959e656b19eba94db271634b35ff1da4e0c4c3a25
6
+ metadata.gz: a5a42c58fe67751baf3004a2cb5e1fbcc843c23dc01c668eb5e9de02c2a68fe776e808a9076f9b8af5842bb33770fe1110814dab70d6906751762bdf550595f2
7
+ data.tar.gz: 806f5955af447cf19e200ad782f7ae65c9ba3d1d2587f4af04a8a58fc13b6d85ff7dcf28dc8db1976b37cf5108201696bcb594818ee188cb22f5f52c70554134
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## Rails 8.0.4.1 (March 23, 2026) ##
2
+
3
+ * Skip blank attribute names in tag helpers to avoid generating invalid HTML.
4
+
5
+ [CVE-2026-33168]
6
+
7
+ *Mike Dalessio*
8
+
9
+
1
10
  ## Rails 8.0.4 (October 28, 2025) ##
2
11
 
3
12
  * Restore `add_default_name_and_id` method.
@@ -10,7 +10,7 @@ module ActionView
10
10
  MAJOR = 8
11
11
  MINOR = 0
12
12
  TINY = 4
13
- PRE = nil
13
+ PRE = "1"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -250,16 +250,19 @@ module ActionView
250
250
  output = +""
251
251
  sep = " "
252
252
  options.each_pair do |key, value|
253
+ next if key.blank?
254
+
253
255
  type = TAG_TYPES[key]
254
256
  if type == :data && value.is_a?(Hash)
255
257
  value.each_pair do |k, v|
256
- next if v.nil?
258
+ next if k.blank? || v.nil?
259
+
257
260
  output << sep
258
261
  output << prefix_tag_option(key, k, v, escape)
259
262
  end
260
263
  elsif type == :aria && value.is_a?(Hash)
261
264
  value.each_pair do |k, v|
262
- next if v.nil?
265
+ next if k.blank? || v.nil?
263
266
 
264
267
  case v
265
268
  when Array, Hash
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionview
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.0.4
4
+ version: 8.0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - '='
17
17
  - !ruby/object:Gem::Version
18
- version: 8.0.4
18
+ version: 8.0.4.1
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - '='
24
24
  - !ruby/object:Gem::Version
25
- version: 8.0.4
25
+ version: 8.0.4.1
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: builder
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -85,28 +85,28 @@ dependencies:
85
85
  requirements:
86
86
  - - '='
87
87
  - !ruby/object:Gem::Version
88
- version: 8.0.4
88
+ version: 8.0.4.1
89
89
  type: :development
90
90
  prerelease: false
91
91
  version_requirements: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - '='
94
94
  - !ruby/object:Gem::Version
95
- version: 8.0.4
95
+ version: 8.0.4.1
96
96
  - !ruby/object:Gem::Dependency
97
97
  name: activemodel
98
98
  requirement: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - '='
101
101
  - !ruby/object:Gem::Version
102
- version: 8.0.4
102
+ version: 8.0.4.1
103
103
  type: :development
104
104
  prerelease: false
105
105
  version_requirements: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - '='
108
108
  - !ruby/object:Gem::Version
109
- version: 8.0.4
109
+ version: 8.0.4.1
110
110
  description: Simple, battle-tested conventions and helpers for building web pages.
111
111
  email: david@loudthinking.com
112
112
  executables: []
@@ -246,10 +246,10 @@ licenses:
246
246
  - MIT
247
247
  metadata:
248
248
  bug_tracker_uri: https://github.com/rails/rails/issues
249
- changelog_uri: https://github.com/rails/rails/blob/v8.0.4/actionview/CHANGELOG.md
250
- documentation_uri: https://api.rubyonrails.org/v8.0.4/
249
+ changelog_uri: https://github.com/rails/rails/blob/v8.0.4.1/actionview/CHANGELOG.md
250
+ documentation_uri: https://api.rubyonrails.org/v8.0.4.1/
251
251
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
252
- source_code_uri: https://github.com/rails/rails/tree/v8.0.4/actionview
252
+ source_code_uri: https://github.com/rails/rails/tree/v8.0.4.1/actionview
253
253
  rubygems_mfa_required: 'true'
254
254
  rdoc_options: []
255
255
  require_paths:
@@ -266,7 +266,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
266
266
  version: '0'
267
267
  requirements:
268
268
  - none
269
- rubygems_version: 3.6.9
269
+ rubygems_version: 4.0.6
270
270
  specification_version: 4
271
271
  summary: Rendering framework putting the V in MVC (part of Rails).
272
272
  test_files: []