Skip to content

Commit

Permalink
fixed Bug 65781
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeybannov committed Feb 1, 2024
1 parent 59bcc4c commit c1d7608
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion common/ASC.Data.Storage/S3/S3Storage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,10 @@ public override Task<Uri> 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<Stream> GetReadStreamAsync(string domain, string path)
Expand Down

0 comments on commit c1d7608

Please sign in to comment.