diff --git a/Changelog b/Changelog index d8f973dce..427347a56 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2018-05-29 DariusIII + * Fix: Remove duplicated Content-disposition header * Fix: Left commented out code for testing * Fix: Fix sent headers when downloading an nzb * Fix: Fix group browsing list page diff --git a/app/Http/Controllers/GetNzbController.php b/app/Http/Controllers/GetNzbController.php index 3b5ba8ca6..73ae7ac11 100644 --- a/app/Http/Controllers/GetNzbController.php +++ b/app/Http/Controllers/GetNzbController.php @@ -127,7 +127,6 @@ class GetNzbController extends BasePageController $cleanName = str_replace([',', ' ', '/'], '_', $relData['searchname']); $headers = [ - 'Content-Disposition:' => 'attachment; filename='.$cleanName.'.nzb', 'Content-Type:' => 'application/x-nzb', 'Expires:' => date('r', Carbon::now()->addDays(365)->timestamp), 'X-DNZB-Failure:' => $this->serverurl.'failed'.'?guid='.$request->input('id').'&userid='.$uid.'&rsstoken='.$rssToken,