|
@@ -115,7 +115,7 @@ namespace Jellyfin.Api.Controllers
|
|
|
return NotFound();
|
|
|
}
|
|
|
|
|
|
- return PhysicalFile(item.Path, MimeTypes.GetMimeType(item.Path));
|
|
|
+ return PhysicalFile(item.Path, MimeTypes.GetMimeType(item.Path), true);
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
@@ -667,7 +667,7 @@ namespace Jellyfin.Api.Controllers
|
|
|
}
|
|
|
|
|
|
// TODO determine non-ASCII validity.
|
|
|
- return PhysicalFile(path, MimeTypes.GetMimeType(path), filename);
|
|
|
+ return PhysicalFile(path, MimeTypes.GetMimeType(path), filename, true);
|
|
|
}
|
|
|
|
|
|
/// <summary>
|