aws-sdk-s3 1.170.0 → 1.170.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: 8fbb9d2ce339539a64280ac5c819839aa6a25ab6bba04fe19081ea2474357985
4
- data.tar.gz: be626f4d8eeb71b48a1ac9a10f46352303cd350e9d6af29a64d9435efdcd9866
3
+ metadata.gz: 9bdae257865b34592636eb8c5aab51ee4e091abd8fd0400822c94b1f4c06f15e
4
+ data.tar.gz: 7ef8aa001ae03d890c7861865c392db4b0659f0a7b7855a8023d5b07612b4a10
5
5
  SHA512:
6
- metadata.gz: b51f11c287ae4650f82e8d0b91fc89d798aeaea62c4082d495e64110faf27a6c02f0c095e29c55d01376e79f48b60c0b5fbaafe9b422083ca69f7609e30d84a8
7
- data.tar.gz: 57e5a2de576b43c9f05ed47a94f19dc9f806ef2d241252a24cd469601ba78c13a25a7eb21290571192afb73f60cb1df86cd8dbb35fb613d30e9016b005246e9c
6
+ metadata.gz: 42bd24927174ecb19bcd70df82276597737a1bac6d9983c52c4c3eeee3b16539a66dd4a65c5d3f1df0f557e973e7d22b26aaab68d7df58794069df3f1994e5c1
7
+ data.tar.gz: 81b1cfdfbd00c54295097fc73104f8e0aa1f275379d9bc9e3c87792c09f7cb523aa07f15c306f91b1bab1eb6adc737156586176a22a53de387e0c774fe184ef2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.170.1 (2024-11-11)
5
+ ------------------
6
+
7
+ * Issue - Tighten regex used to check for S3 200 errors.
8
+
4
9
  1.170.0 (2024-11-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.170.0
1
+ 1.170.1
@@ -19845,7 +19845,7 @@ module Aws::S3
19845
19845
  tracer: tracer
19846
19846
  )
19847
19847
  context[:gem_name] = 'aws-sdk-s3'
19848
- context[:gem_version] = '1.170.0'
19848
+ context[:gem_version] = '1.170.1'
19849
19849
  Seahorse::Client::Request.new(handlers, context)
19850
19850
  end
19851
19851
 
@@ -71,9 +71,9 @@ module Aws
71
71
 
72
72
  def check_for_error(context)
73
73
  xml = context.http_response.body_contents
74
- if xml.match(/\?>\s*<Error>/)
75
- error_code = xml.match(/<Code>(.+?)<\/Code>/)[1]
76
- error_message = xml.match(/<Message>(.+?)<\/Message>/)[1]
74
+ if xml.match(/<\?xml\s[^>]*\?>\s*<Error>/)
75
+ error_code = xml.match(%r{<Code>(.+?)</Code>})[1]
76
+ error_message = xml.match(%r{<Message>(.+?)</Message>})[1]
77
77
  S3::Errors.error_class(error_code).new(context, error_message)
78
78
  elsif incomplete_xml_body?(xml, context.operation.output)
79
79
  Seahorse::Client::NetworkingError.new(
data/lib/aws-sdk-s3.rb CHANGED
@@ -75,7 +75,7 @@ module Aws::S3
75
75
  autoload :ObjectVersion, 'aws-sdk-s3/object_version'
76
76
  autoload :EventStreams, 'aws-sdk-s3/event_streams'
77
77
 
78
- GEM_VERSION = '1.170.0'
78
+ GEM_VERSION = '1.170.1'
79
79
 
80
80
  end
81
81
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.170.0
4
+ version: 1.170.1
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: 2024-11-06 00:00:00.000000000 Z
11
+ date: 2024-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-kms