Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphQL parser swallows invalid escaped #2570

Closed
pcarrier opened this issue May 21, 2020 · 1 comment
Closed

GraphQL parser swallows invalid escaped #2570

pcarrier opened this issue May 21, 2020 · 1 comment
Labels

Comments

@pcarrier
Copy link
Contributor

pcarrier commented May 21, 2020

The string generated by #2569 passes the graphql-js 15.0.0 parser just fine despite being invalid GraphQL. I would suggest being more conservative with invalid escape sequences even if it's a breaking change, this lets bad GraphQL loose.

@IvanGoncharov
Copy link
Member

IvanGoncharov commented May 22, 2020

@pcarrier Thanks for reporting, answered by @hereisnaman and me in #2569

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants