File: fileHandler download now returns 302 status

This commit is contained in:
pavelbannov 2021-10-06 16:14:09 +03:00
parent cfb8174772
commit fcffb01e78

View File

@ -408,7 +408,7 @@ namespace ASC.Web.Files
{ {
if (!readLink && fileDao.IsSupportedPreSignedUri(file)) 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; return;
} }