From dab74b9cd182e649ef4c981204ba66309f2458d0 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 18 Jul 2017 13:34:56 -0400 Subject: 3.2.25.8 --- MediaBrowser.Api/Library/LibraryService.cs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'MediaBrowser.Api/Library/LibraryService.cs') 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(); - // 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); -- cgit v1.2.3