Set filename when downloading file
This commit is contained in:
parent
21d2e9ff0c
commit
56ae63433f
|
@ -667,7 +667,7 @@ namespace Jellyfin.Api.Controllers
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO determine non-ASCII validity.
|
// TODO determine non-ASCII validity.
|
||||||
return PhysicalFile(path, MimeTypes.GetMimeType(path));
|
return PhysicalFile(path, MimeTypes.GetMimeType(path), filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user