Skip to content

Commit 65611c7

Browse files
Allow slashes in S3 object names
1 parent 495faf4 commit 65611c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GuiStack/Repositories/IS3Repository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public interface IS3Repository
3737
public class S3Repository : IS3Repository
3838
{
3939
// https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html
40-
private static readonly Regex InvalidObjectCharsRegex = new Regex("[^A-Z0-9!._*'()-]", RegexOptions.Compiled | RegexOptions.IgnoreCase | RegexOptions.CultureInvariant);
40+
private static readonly Regex InvalidObjectCharsRegex = new Regex("[^A-Z0-9!._*'()/-]", RegexOptions.Compiled | RegexOptions.IgnoreCase | RegexOptions.CultureInvariant);
4141

4242
private S3Authenticator authenticator = new S3Authenticator();
4343
private IS3UrlBuilder urlBuilder;

0 commit comments

Comments
 (0)