aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/SocketSharp/RequestMono.cs
diff options
context:
space:
mode:
authorErwin de Haan <EraYaN@users.noreply.github.com>2019-01-11 12:50:36 +0100
committerErwin de Haan <EraYaN@users.noreply.github.com>2019-01-11 12:50:36 +0100
commite2751d42e8775596b7c4b929fd004d879f980947 (patch)
treeda1d6e703abbb6a47cd64730603f06dc4b51df8f /Jellyfin.Server/SocketSharp/RequestMono.cs
parentec1f5dc317182582ebff843c9e8a4d5277405469 (diff)
parente5c2dbdf23267006ef151d6ee8ab1cea147123d7 (diff)
Merge branch 'dev' into code-cleanup
Diffstat (limited to 'Jellyfin.Server/SocketSharp/RequestMono.cs')
-rw-r--r--Jellyfin.Server/SocketSharp/RequestMono.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/Jellyfin.Server/SocketSharp/RequestMono.cs b/Jellyfin.Server/SocketSharp/RequestMono.cs
index 13904be56..4c3d8d1d5 100644
--- a/Jellyfin.Server/SocketSharp/RequestMono.cs
+++ b/Jellyfin.Server/SocketSharp/RequestMono.cs
@@ -97,12 +97,12 @@ namespace Jellyfin.SocketSharp
}
#if NET_4_0
- if (validateRequestNewMode && !checked_form) {
- // Setting this before calling the validator prevents
- // possible endless recursion
- checked_form = true;
- ValidateNameValueCollection ("Form", query_string_nvc, RequestValidationSource.Form);
- } else
+ if (validateRequestNewMode && !checked_form) {
+ // Setting this before calling the validator prevents
+ // possible endless recursion
+ checked_form = true;
+ ValidateNameValueCollection ("Form", query_string_nvc, RequestValidationSource.Form);
+ } else
#endif
if (validate_form && !checked_form)
{
@@ -546,7 +546,7 @@ namespace Jellyfin.SocketSharp
const byte HYPHEN = (byte)'-', LF = (byte)'\n', CR = (byte)'\r';
- // See RFC 2046
+ // See RFC 2046
// In the case of multipart entities, in which one or more different
// sets of data are combined in a single body, a "multipart" media type
// field must appear in the entity's header. The body must then contain