We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent caa8cd1 commit 397fff3Copy full SHA for 397fff3
Src/ProviderTests/Misc/GetObjectTests.cs
@@ -0,0 +1,18 @@
1
+using Genbox.ProviderTests.Code;
2
+using Genbox.SimpleS3.Core.Abstracts;
3
+using Genbox.SimpleS3.Core.Extensions;
4
+using Genbox.SimpleS3.Utility.Shared;
5
+
6
+namespace Genbox.ProviderTests.Misc;
7
8
+public class MiscTests : TestBase
9
+{
10
+ [Theory]
11
+ [MultipleProviders(S3Provider.AmazonS3)]
12
+ public async Task IsEncodingCorrect(S3Provider _, string bucket, ISimpleClient client)
13
+ {
14
+ //This tests if '=' is NOT encoded. S3 does not use encoding of paths in signed requests, but all other AWS APIs do
15
+ var putResp = await client.PutObjectStringAsync(bucket, "a=a", "hello");
16
+ Assert.Equal(200, putResp.StatusCode);
17
+ }
18
+}
0 commit comments