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;
|
bodySize = result.ContentBytes.Length;
|
||||||
var contentString = result.ContentString.Trim();
|
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;
|
body = "\n" + contentString;
|
||||||
else
|
else
|
||||||
body = " <BINARY>";
|
body = " <BINARY>";
|
||||||
|
|
Loading…
Reference in New Issue