Skip to content

GraphQL handler blows up if request contains newline breaks #17667

@jmartisk

Description

@jmartisk

Describe the bug

When an incoming GraphQL query contains newline characters, the JSON parser that parses it blows up.

Expected behavior

Request with newlines is parsed, the newlines ignored

Actual behavior

The request processing blows up on something like

javax.json.stream.JsonParsingException: Unexpected char 10 at (line no=1, column no=19, offset=18)

where the "char 10" is a newline character

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions