mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Closing braces should be followed by an empty line
This commit is contained in:
parent
fc59b0ab77
commit
637936cb9f
@ -140,10 +140,12 @@ namespace Jellyfin.Server.SocketSharp
|
|||||||
throw new ArgumentException("net_WebHeaderInvalidCRLFChars");
|
throw new ArgumentException("net_WebHeaderInvalidCRLFChars");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (crlf != 0)
|
if (crlf != 0)
|
||||||
{
|
{
|
||||||
throw new ArgumentException("net_WebHeaderInvalidCRLFChars");
|
throw new ArgumentException("net_WebHeaderInvalidCRLFChars");
|
||||||
}
|
}
|
||||||
|
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -156,6 +158,7 @@ namespace Jellyfin.Server.SocketSharp
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -151,6 +151,7 @@ namespace Jellyfin.Server.SocketSharp
|
|||||||
{
|
{
|
||||||
sb.Append(";Secure");
|
sb.Append(";Secure");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cookie.HttpOnly)
|
if (cookie.HttpOnly)
|
||||||
{
|
{
|
||||||
sb.Append(";HttpOnly");
|
sb.Append(";HttpOnly");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user