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

Tidy tree path before parsing #4024

Conversation

arthurperton
Copy link
Contributor

@arthurperton arthurperton commented Jul 19, 2021

Fixes #4018.

I ended up with tidying the path on the spot, using the same approach as in Statamic\Stache\Traverser->traverse(). No need to worry what kind of (mix of) (back)slashes any specific SplInfo method returns.

@jasonvarga jasonvarga merged commit 646793c into statamic:3.1 Jul 19, 2021
@arthurperton arthurperton deleted the pr/issue-4018-tree-backslashes-backfiring branch February 16, 2022 09:14
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

Successfully merging this pull request may close these issues.

Orderable Collections Tree Order Changed After Updating
2 participants