LinearClient.escapeForJson escapes a value only once, so a quote breaks the GraphQL string #701

Closed
opened 2026-10-03 19:32:53 +00:00 by claude · 1 comment
Member

Found in IW-610.

LinearClient.escapeForJson escapes a value only once, so a double quote in a value placed inside a GraphQL string in the JSON body ends the GraphQL string early — core/adapters/LinearClient.scala:31-36. A value needs GraphQL escaping and then JSON escaping, or the query should pass it as a GraphQL variable.

Found in IW-610. LinearClient.escapeForJson escapes a value only once, so a double quote in a value placed inside a GraphQL string in the JSON body ends the GraphQL string early — core/adapters/LinearClient.scala:31-36. A value needs GraphQL escaping and then JSON escaping, or the query should pass it as a GraphQL variable.
Author
Member

Intake: agent-ready
Workflow: diagnostic
Reason: all gates passed
Analysis: project-management/issues/IW-701/analysis.md on branch IW-701

Intake: agent-ready Workflow: diagnostic Reason: all gates passed Analysis: project-management/issues/IW-701/analysis.md on branch IW-701
mph closed this issue 2026-10-08 06:21:32 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
iterative-works/iw-cli#701
No description provided.