mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
Do not declare visible instance fields
This commit is contained in:
parent
637936cb9f
commit
183ef34422
@ -127,8 +127,12 @@ namespace Jellyfin.Server.SocketSharp
|
|||||||
|
|
||||||
public string Authorization => string.IsNullOrEmpty(request.Headers["Authorization"]) ? null : request.Headers["Authorization"];
|
public string Authorization => string.IsNullOrEmpty(request.Headers["Authorization"]) ? null : request.Headers["Authorization"];
|
||||||
|
|
||||||
protected bool validate_cookies, validate_query_string, validate_form;
|
protected bool validate_cookies { get; set; }
|
||||||
protected bool checked_cookies, checked_query_string, checked_form;
|
protected bool validate_query_string { get; set; }
|
||||||
|
protected bool validate_form { get; set; }
|
||||||
|
protected bool checked_cookies { get; set; }
|
||||||
|
protected bool checked_query_string { get; set; }
|
||||||
|
protected bool checked_form { get; set; }
|
||||||
|
|
||||||
private static void ThrowValidationException(string name, string key, string value)
|
private static void ThrowValidationException(string name, string key, string value)
|
||||||
{
|
{
|
||||||
|
@ -447,7 +447,7 @@ namespace Jellyfin.Server.SocketSharp
|
|||||||
|
|
||||||
public string ContentType => request.ContentType;
|
public string ContentType => request.ContentType;
|
||||||
|
|
||||||
public Encoding contentEncoding;
|
private Encoding contentEncoding;
|
||||||
public Encoding ContentEncoding
|
public Encoding ContentEncoding
|
||||||
{
|
{
|
||||||
get => contentEncoding ?? request.ContentEncoding;
|
get => contentEncoding ?? request.ContentEncoding;
|
||||||
|
Loading…
Reference in New Issue
Block a user