mirror of https://github.com/Jackett/Jackett
webclient: also show response if the first char is a letter
This commit is contained in:
parent
9fff3112b2
commit
9a1aa101d7
|
@ -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>";
|
||||
|
|
Loading…
Reference in New Issue