DGLE-HQ / DGLE

Powerful independent cross-platform engine for 2D/3D games and visualizations. Young, strong and crazy!

Home Page:http://dgle.dronprogs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect CDCPFileSystem::Find() results

ash3D opened this issue · comments

commented

CDCPFileSystem::Find uses regexp to perform mask matching globally at the whole path scope. It can result in false matches.
For example path "dir1\dir2\test.exe" will be incorrectly matched with "dir1\*.exe" mask.

In order to fix this mask matching should be happened recursively locally at directory scope.