@aws-sdk/lib-storage 3.489.0 → 3.490.0

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.
@@ -224,6 +224,9 @@ class Upload extends events_1.EventEmitter {
224
224
  },
225
225
  };
226
226
  result = await this.client.send(new client_s3_1.CompleteMultipartUploadCommand(uploadCompleteParams));
227
+ if (typeof (result === null || result === void 0 ? void 0 : result.Location) === "string" && result.Location.includes("%2F")) {
228
+ result.Location = result.Location.replace(/%2F/g, "/");
229
+ }
227
230
  }
228
231
  else {
229
232
  result = this.singleUploadResult;
package/dist-es/Upload.js CHANGED
@@ -219,6 +219,9 @@ export class Upload extends EventEmitter {
219
219
  },
220
220
  };
221
221
  result = await this.client.send(new CompleteMultipartUploadCommand(uploadCompleteParams));
222
+ if (typeof result?.Location === "string" && result.Location.includes("%2F")) {
223
+ result.Location = result.Location.replace(/%2F/g, "/");
224
+ }
222
225
  }
223
226
  else {
224
227
  result = this.singleUploadResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/lib-storage",
3
- "version": "3.489.0",
3
+ "version": "3.490.0",
4
4
  "description": "Storage higher order operation",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -37,7 +37,7 @@
37
37
  "@aws-sdk/client-s3": "^3.0.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@aws-sdk/client-s3": "3.489.0",
40
+ "@aws-sdk/client-s3": "3.490.0",
41
41
  "@smithy/types": "^2.8.0",
42
42
  "@tsconfig/recommended": "1.0.1",
43
43
  "@types/node": "^14.14.31",