From 8ffa9b10566d463554c87704411e984e27f1e204 Mon Sep 17 00:00:00 2001 From: Darko Date: Thu, 29 May 2014 09:56:35 +0200 Subject: [PATCH] Revert the change --- lib/copy_this/www/pages/getnzb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/copy_this/www/pages/getnzb.php b/lib/copy_this/www/pages/getnzb.php index 668fb7419..65ee26bdc 100644 --- a/lib/copy_this/www/pages/getnzb.php +++ b/lib/copy_this/www/pages/getnzb.php @@ -104,7 +104,7 @@ if (isset($_GET["id"])) { readgzfile($nzbpath); // Set the NZB file name. - header("Content-Disposition: attachment; filename=\"" . str_replace(" ", "_", $reldata["searchname"]) . ".nzb\""); + header("Content-Disposition: attachment; filename=" . str_replace(array(',', ' '), '_', $reldata["searchname"]) . ".nzb"); // Get the size of the NZB file. header("Content-Length: " . ob_get_length()); header("Content-Type: application/x-nzb");