Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Commit 9945d6d

Browse files
committed
Spaces
1 parent 1064f11 commit 9945d6d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Microsoft.AspNetCore.Http.Abstractions/Internal/ParsingHelpers.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,18 +68,18 @@ public static void SetHeaderJoined(IHeaderDictionary headers, string key, String
6868
// Quote items that contain comas and are not already quoted.
6969
private static string QuoteIfNeeded(string value)
7070
{
71-
if (!string.IsNullOrWhiteSpace(value) &&
72-
value.Contains(',') &&
71+
if (!string.IsNullOrWhiteSpace(value) &&
72+
value.Contains(',') &&
7373
(value[0] != '"' || value[value.Length - 1] != '"'))
74-
{
74+
{
7575
return $"\"{value}\"";
7676
}
7777
return value;
7878
}
7979

8080
private static string DeQuote(string value)
8181
{
82-
if (!string.IsNullOrWhiteSpace(value) &&
82+
if (!string.IsNullOrWhiteSpace(value) &&
8383
(value.Length > 1 && value[0] == '"' && value[value.Length - 1] == '"'))
8484
{
8585
value = value.Substring(1, value.Length - 2);

0 commit comments

Comments
 (0)