[php-src] PR #19647: Fix GH-13204: glob() fails if square bracket is in current directory
| From: | nielsdos | Date: | Sat, 30 Aug 2025 20:59:24 +0000 |
| Subject: | [php-src] PR #19647: Fix GH-13204: glob() fails if square bracket is in current directory | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32988@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19647
Author: nielsdos
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.