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

[BUGFIX] Only support up to 69 atomic expressions in a selector #1113

Merged
merged 1 commit into from
Dec 17, 2021

Conversation

oliverklee
Copy link
Contributor

@oliverklee oliverklee commented Sep 16, 2021

Starting from 70 atomic expressions, PHP will run into the nesting level
limit that was recently added to libxml:

https://gitlab.gnome.org/GNOME/libxml2/-/commit/6f1470a5d6e3e369fe93f52d5760ba7c947f0cd1

@oliverklee oliverklee added the bug label Sep 16, 2021
@oliverklee oliverklee added this to the 7.0.0 milestone Sep 16, 2021
@oliverklee oliverklee self-assigned this Sep 16, 2021
@oliverklee
Copy link
Contributor Author

oliverklee commented Sep 16, 2021

With numbers from 70 and up, I get a PHP error on my local machine when running the corresponding test.

CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Contributor

@JakeQZ JakeQZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the description of this change could be clarified.

@oliverklee oliverklee changed the title [BUGFIX] Only support an operator nesting level up to 69 [BUGFIX] Only support up to 69 atomic expressions in a selector Dec 16, 2021
Starting from 70 atomic expressions, PHP will run into the nesting level
limit that was recently added to libxml:

https://gitlab.gnome.org/GNOME/libxml2/-/commit/6f1470a5d6e3e369fe93f52d5760ba7c947f0cd1
@oliverklee oliverklee merged commit 2daddae into main Dec 17, 2021
@oliverklee oliverklee deleted the bugfix/recursion-limit branch December 17, 2021 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants