From fa4b3e233b1d85cee485e2b074a836068ea939df Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sat, 10 Sep 2022 21:15:26 +1200 Subject: [PATCH] Revert "webclient: also show response if the first char is a letter" This reverts commit 9a1aa101d7b5297b47d4c104fa4e3d44f2eb857d. --- src/Jackett.Common/Utils/Clients/WebClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jackett.Common/Utils/Clients/WebClient.cs b/src/Jackett.Common/Utils/Clients/WebClient.cs index 2d08a7d01..f8ca24bb9 100644 --- a/src/Jackett.Common/Utils/Clients/WebClient.cs +++ b/src/Jackett.Common/Utils/Clients/WebClient.cs @@ -195,7 +195,7 @@ namespace Jackett.Common.Utils.Clients { bodySize = result.ContentBytes.Length; var contentString = result.ContentString.Trim(); - if (contentString.StartsWith("<") || contentString.StartsWith("{") || contentString.StartsWith("[") || Char.IsLetter(contentString[0])) + if (contentString.StartsWith("<") || contentString.StartsWith("{") || contentString.StartsWith("[")) body = "\n" + contentString; else body = " ";