mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #4819 from crobibero/download-name
Set filename when downloading file (cherry picked from commit 668e168c4710d8181e04ba57b7e3a690a2d2936a) 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…
x
Reference in New Issue
Block a user