Skip to content

Commit

Permalink
File: fileHandler download now returns 302 status
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelbannov committed Oct 6, 2021
1 parent cfb8174 commit fcffb01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion products/ASC.Files/Core/HttpHandlers/FileHandler.ashx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ private async Task DownloadFile<T>(HttpContext context, T id)
{
if (!readLink && fileDao.IsSupportedPreSignedUri(file))
{
context.Response.Redirect(fileDao.GetPreSignedUri(file, TimeSpan.FromHours(1)).ToString(), true);
context.Response.Redirect(fileDao.GetPreSignedUri(file, TimeSpan.FromHours(1)).ToString(), false);

return;
}
Expand Down

0 comments on commit fcffb01

Please sign in to comment.