diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-07-18 13:34:56 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-07-18 13:34:56 -0400 |
| commit | dab74b9cd182e649ef4c981204ba66309f2458d0 (patch) | |
| tree | add896c5c13979e07b7e4022ff84a669cea2c81a /MediaBrowser.Api/Library/LibraryService.cs | |
| parent | 54b4608ce6b164e1dea68ec32bac4597e4d0e8ce (diff) | |
3.2.25.8
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryService.cs')
| -rw-r--r-- | MediaBrowser.Api/Library/LibraryService.cs | 4 |
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); |
