Skip to content

Commit 34908d9

Browse files
committed
Allow leading space in literals
1 parent d42a274 commit 34908d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsonApiDotNetCore/Queries/Internal/Parsing/QueryTokenizer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public IEnumerable<Token> EnumerateTokens()
8787
}
8888
else
8989
{
90-
if (_textBuffer.Length == 0 && ch == ' ')
90+
if (_textBuffer.Length == 0 && ch == ' ' && !_isInQuotedSection)
9191
{
9292
throw new QueryParseException("Unexpected whitespace.");
9393
}

0 commit comments

Comments
 (0)