Set filename when downloading file

This commit is contained in:
crobibero 2020-12-17 13:05:44 -07:00
parent 21d2e9ff0c
commit 56ae63433f

View File

@ -667,7 +667,7 @@ namespace Jellyfin.Api.Controllers
}
// TODO determine non-ASCII validity.
return PhysicalFile(path, MimeTypes.GetMimeType(path));
return PhysicalFile(path, MimeTypes.GetMimeType(path), filename);
}
/// <summary>