Skip to content

Commit

Permalink
fix(source-aws): Fix the Source.head function to decode url for the s…
Browse files Browse the repository at this point in the history
…3 object key. (#1401)
  • Loading branch information
Wentao-Kuang authored Feb 20, 2024
1 parent 137e68f commit 0eb0aa5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/source-aws/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export class SourceAwsS3 implements Source {

const request = new HeadObjectCommand({
...SourceAwsS3.getBucketKey(this.url),
Key: this.url.pathname.slice(1),
RequestPayer: this.requestPayer,
});
this._head = this.client.send(request).then((response) => {
Expand Down

0 comments on commit 0eb0aa5

Please sign in to comment.