fix(AwsS3 Node): Fix handling of bucket with dot in name (#8475)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-01-30 17:05:59 +01:00
committed by GitHub
parent e643a126f4
commit 0febe62ad0
3 changed files with 13 additions and 15 deletions

View File

@@ -14,11 +14,11 @@ describe('Test S3 V2 Node', () => {
await initBinaryDataService();
nock.disableNetConnect();
mock = nock('https://bucket.s3.eu-central-1.amazonaws.com');
mock = nock('https://s3.eu-central-1.amazonaws.com/buc.ket');
});
beforeEach(async () => {
mock.get('/?location').reply(
mock.get('?location').reply(
200,
`<?xml version="1.0" encoding="UTF-8"?>
<LocationConstraint>