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

Parsing INSERT/DELETE queries with too much whitespace cause "too much recursion" #169

Open
selevt opened this issue May 19, 2023 · 0 comments

Comments

@selevt
Copy link

selevt commented May 19, 2023

Hello,

Parsing the following query causes a too much recursion error:

INSERT
                                                   {<urn:a> <urn:b> <urn:c> } WHERE {}

Repro: https://stackblitz.com/edit/js-uncrfh?file=index.js

In Firefox this shows a too much recursion, in Chrome the page becomes unresponsive.

Same for DELETE queries, but CONSTRUCT is fine. Also when moving the opening brace, the parsing is fine:

INSERT {
                                                   <urn:a> <urn:b> <urn:c> } WHERE {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant