aws-sdk-core 3.125.1 → 3.125.2

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: 4e0d8c009bf3f995fc7c5e1d07ca35f159fb144e9f8a6e8ee69a6b6276f74c3a
4
- data.tar.gz: a710b35aa3f6e1d9d8861daa5801ee9b901ec37ba9a8f64a84b1b4d148513012
3
+ metadata.gz: 791ca642ece40bb3d3a537f44f10f89ca55c20d06c8fd012ffe639bd9617a456
4
+ data.tar.gz: efc419f84bd91328ede19583192088940a8c4959a0400d2e5d3eda571ebb54bf
5
5
  SHA512:
6
- metadata.gz: 41adb70044beb5e732a049e9ea3ba0a4bdd2368749ae43e0cda71f71e2ff2e3725cb2647107096ecb561a098bc676ab31140294aa98b9543f5794224c73a2895
7
- data.tar.gz: 3c83325c9da34ccf75aa6fb52cbd1b65bbd803b10b7b74554e6237d95b4e9d6674894be73c7e680d4f4f65f2ea1f8745c2dc05b1fe527b817a644287c393b511
6
+ metadata.gz: 38887c1541cddfc4e46a5ae3b9d479b2e01f0e11330eb9e3906ff6453a6101beaa8e6e52522587442ac2f4027801a0cf70168795452f9df9c25613e4f58cb1fb
7
+ data.tar.gz: 413d43ed9aebfe37631fab895d174865c5cf95a7977405f754c660deb073f6105787bc236c0db80af4f2ba7e4a1123319b8eb2d272bf0962b32c7c85a38ac7f6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 3.125.2 (2022-01-10)
5
+ ------------------
6
+
7
+ * Issue - Correctly serialize lists of strings in headers with quotes and commas.
8
+
4
9
  3.125.1 (2022-01-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.125.1
1
+ 3.125.2
@@ -51,7 +51,14 @@ module Aws
51
51
  end
52
52
 
53
53
  def list(_ref, value)
54
- value.compact.join(",")
54
+ value
55
+ .compact
56
+ .map { |s| escape_header_list_string(s.to_s) }
57
+ .join(",")
58
+ end
59
+
60
+ def escape_header_list_string(s)
61
+ (s.include?('"') || s.include?(",")) ? "\"#{s.gsub('"', '\"')}\"" : s
55
62
  end
56
63
 
57
64
  def apply_header_map(headers, ref, values)
@@ -541,7 +541,7 @@ module Aws::SSO
541
541
  params: params,
542
542
  config: config)
543
543
  context[:gem_name] = 'aws-sdk-core'
544
- context[:gem_version] = '3.125.1'
544
+ context[:gem_version] = '3.125.2'
545
545
  Seahorse::Client::Request.new(handlers, context)
546
546
  end
547
547
 
data/lib/aws-sdk-sso.rb CHANGED
@@ -50,6 +50,6 @@ require_relative 'aws-sdk-sso/customizations'
50
50
  # @!group service
51
51
  module Aws::SSO
52
52
 
53
- GEM_VERSION = '3.125.1'
53
+ GEM_VERSION = '3.125.2'
54
54
 
55
55
  end
@@ -2284,7 +2284,7 @@ module Aws::STS
2284
2284
  params: params,
2285
2285
  config: config)
2286
2286
  context[:gem_name] = 'aws-sdk-core'
2287
- context[:gem_version] = '3.125.1'
2287
+ context[:gem_version] = '3.125.2'
2288
2288
  Seahorse::Client::Request.new(handlers, context)
2289
2289
  end
2290
2290
 
data/lib/aws-sdk-sts.rb CHANGED
@@ -50,6 +50,6 @@ require_relative 'aws-sdk-sts/customizations'
50
50
  # @!group service
51
51
  module Aws::STS
52
52
 
53
- GEM_VERSION = '3.125.1'
53
+ GEM_VERSION = '3.125.2'
54
54
 
55
55
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.125.1
4
+ version: 3.125.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-04 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath