Merge pull request #4819 from crobibero/download-name

Set filename when downloading file
pull/4824/head
Joshua M. Boniface 4 years ago committed by GitHub
commit 668e168c47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save