mirror of
https://github.com/jellyfin/jellyfin
synced 2024-10-06 15:59:53 +00:00
Merge pull request #4819 from crobibero/download-name
Set filename when downloading file
(cherry picked from commit 668e168c47
)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
6c2ddd9758
commit
5bf25ce2cc
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue