From 3a427188761c1629cf67f4e139d9b6350861940a Mon Sep 17 00:00:00 2001 From: Michael Herger Date: Tue, 19 Apr 2016 07:05:34 +0200 Subject: [PATCH] Don't include the new line character in the content type. --- Slim/Player/Protocols/HTTP.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Slim/Player/Protocols/HTTP.pm b/Slim/Player/Protocols/HTTP.pm index e2800fb8a2a..0c1e506643e 100644 --- a/Slim/Player/Protocols/HTTP.pm +++ b/Slim/Player/Protocols/HTTP.pm @@ -365,7 +365,7 @@ sub parseDirectHeaders { $redir = $1; } - elsif ($header =~ /^Content-Type:\s*([^;]*)/i) { + elsif ($header =~ /^Content-Type:\s*([^;\n]*)/i) { $contentType = $1; }