aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Library/LibraryService.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-07-18 13:35:41 -0400
committerGitHub <noreply@github.com>2017-07-18 13:35:41 -0400
commitf1267ccb6a6388c0a4e4190465c3411f82ae3a43 (patch)
treeadd896c5c13979e07b7e4022ff84a669cea2c81a /MediaBrowser.Api/Library/LibraryService.cs
parente6da6fcf68427f0ddfee7f2e60e342adc90de7a5 (diff)
parentdab74b9cd182e649ef4c981204ba66309f2458d0 (diff)
Merge pull request #2760 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryService.cs')
-rw-r--r--MediaBrowser.Api/Library/LibraryService.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/MediaBrowser.Api/Library/LibraryService.cs b/MediaBrowser.Api/Library/LibraryService.cs
index 80d8c072e..3bb119cba 100644
--- a/MediaBrowser.Api/Library/LibraryService.cs
+++ b/MediaBrowser.Api/Library/LibraryService.cs
@@ -512,10 +512,6 @@ namespace MediaBrowser.Api.Library
var headers = new Dictionary<string, string>();
- // Quotes are valid in linux. They'll possibly cause issues here
- var filename = Path.GetFileName(item.Path).Replace("\"", string.Empty);
- headers["Content-Disposition"] = string.Format("attachment; filename=\"{0}\"", filename);
-
if (user != null)
{
LogDownload(item, user, auth);