LinearClient.escapeForJson escapes a value only once, so a quote breaks the GraphQL string #701
Labels
No labels
agent-ready
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
needs-input
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli#701
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
Intake: agent-ready
Workflow: diagnostic
Reason: all gates passed
Analysis: project-management/issues/IW-701/analysis.md on branch IW-701