Merge pull request #4819 from crobibero/download-name
Set filename when downloading file
This commit is contained in:
commit
668e168c47
|
@ -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 New Issue
Block a user