File: fileHandler download now returns 302 status
This commit is contained in:
parent
cfb8174772
commit
fcffb01e78
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user