Merge pull request #189 from ironyx/patch-1
Logical AND would never be true; broke into OR statement
This commit is contained in:
commit
dadd9cd9f3
|
|
@ -91,7 +91,7 @@ namespace Microsoft.Net.Http.Headers
|
|||
|
||||
if (skipEmptyValues)
|
||||
{
|
||||
while ((current < input.Length) && (input[current] == ',') && (input[current] == ';'))
|
||||
while ((current < input.Length) && ((input[current] == ',') || (input[current] == ';')))
|
||||
{
|
||||
current++; // skip delimiter.
|
||||
current = current + HttpRuleParser.GetWhitespaceLength(input, current);
|
||||
|
|
|
|||
Loading…
Reference in New Issue