Skip to content

Conversation

nielsdos
Copy link
Member

@nielsdos nielsdos commented Aug 30, 2025

The problem is not limited to square brackets, but to every meta character. The solution is to override the glob functions for handling paths with the VCWD ones in PHP. If that is not available, use the old but limited workaround.
This is now a viable solution on more platforms as we now bundle a glob implementation.

The problem is not limited to square brackets, but to every meta
character. The solution is to override the glob functions for handling
paths with the VCWD ones in PHP. If that is not available, use the old
but limited workaround.
@nielsdos nielsdos linked an issue Aug 30, 2025 that may be closed by this pull request
@nielsdos nielsdos marked this pull request as ready for review August 30, 2025 22:19
@nielsdos nielsdos requested a review from bukka as a code owner August 30, 2025 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

glob() fails if square bracket is in current directory
1 participant