webclient: also show response if the first char is a letter

This commit is contained in:
Garfield69 2022-09-10 21:06:30 +12:00
parent 9fff3112b2
commit 9a1aa101d7
1 changed files with 1 additions and 1 deletions

View File

@ -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("["))
if (contentString.StartsWith("<") || contentString.StartsWith("{") || contentString.StartsWith("[") || Char.IsLetter(contentString[0]))
body = "\n" + contentString;
else
body = " <BINARY>";