Skip to content

Commit

Permalink
Remove stray whitespace in X-DNZB-NFO header sent on nzb download. Fi…
Browse files Browse the repository at this point in the history
…xes issue #735
  • Loading branch information
DariusIII committed Oct 3, 2018
1 parent 68ac1ba commit 8fba27e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
2018-10-03 DariusIII
* Fix: Remove stray whitespace in X-DNZB-NFO header sent on nzb download. Fixes issue #735
* Chg: Update exception handling in ProcessAdditional class and related scripts
* Chg: Increase number of pages listed on each side of pagers current page
* Chg: Update mockery/mockery to version 1.2.0
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/GetNzbController.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function getNzb(Request $request)
}

if ((int) $relData['nfostatus'] === 1) {
$headers += ['X-DNZB-NFO ' => url('/').'/nfo/'.$request->input('id')];
$headers += ['X-DNZB-NFO' => url('/').'/nfo/'.$request->input('id')];
}

$headers += ['X-DNZB-RCode' => '200',
Expand Down

0 comments on commit 8fba27e

Please sign in to comment.