diff --git a/common/ASC.Data.Storage/S3/S3Storage.cs b/common/ASC.Data.Storage/S3/S3Storage.cs index dbcb65dae47..8b5cdcfdca9 100644 --- a/common/ASC.Data.Storage/S3/S3Storage.cs +++ b/common/ASC.Data.Storage/S3/S3Storage.cs @@ -222,7 +222,10 @@ public override Task GetCdnPreSignedUriAsync(string domain, string path, Ti DateTime.UtcNow.Add(expire)); } - return Task.FromResult(new Uri(signedUrl)); + + var signedUri = new Uri(signedUrl, new UriCreationOptions { DangerousDisablePathAndQueryCanonicalization = true }); + + return Task.FromResult(signedUri); } public override Task GetReadStreamAsync(string domain, string path)