Closing braces should be followed by an empty line

This commit is contained in:
Bond-009 2019-02-13 16:59:30 +01:00
parent fc59b0ab77
commit 637936cb9f
2 changed files with 4 additions and 0 deletions

View file

@ -140,10 +140,12 @@ namespace Jellyfin.Server.SocketSharp
throw new ArgumentException("net_WebHeaderInvalidCRLFChars");
}
}
if (crlf != 0)
{
throw new ArgumentException("net_WebHeaderInvalidCRLFChars");
}
return name;
}
@ -156,6 +158,7 @@ namespace Jellyfin.Server.SocketSharp
return true;
}
}
return false;
}

View file

@ -151,6 +151,7 @@ namespace Jellyfin.Server.SocketSharp
{
sb.Append(";Secure");
}
if (cookie.HttpOnly)
{
sb.Append(";HttpOnly");