Find Files: Cannot exclude folders with [] in name

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
Chris Wood
Posts: 272
Joined: 25 May 2004 13:01
Location: Wellington, New Zealand
Contact:

Find Files: Cannot exclude folders with [] in name

Post by Chris Wood »

Steps to reproduce:
1. Make a folder with [] in it's name
2. Put some files in it
3. Add the folder to the list of excluded folders
4. Do a search in the folder's parent for the files

Actual results:
Files are found (not excluded from search).
test everything. hold on to the good.

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Find Files: Cannot exclude folders with [] in name

Post by admin »

Interesting bug, thanks! It's the same with folders containing "#" anywhere. And much worse: if an excluded folder name contains only "[" XY crashes!

Fixed.

Chris Wood
Posts: 272
Joined: 25 May 2004 13:01
Location: Wellington, New Zealand
Contact:

Post by Chris Wood »

Yeah I thought so :)

So you checked all enterable characters?
test everything. hold on to the good.

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

Chris Wood wrote:So you checked all enterable characters?
Not necessary. The problem chars here have been the special characters in the particular type of pattern matching I'm using and these are: * ? # [ ]. Only the last three can exist in file names, and these I have dealt with.

Chris Wood
Posts: 272
Joined: 25 May 2004 13:01
Location: Wellington, New Zealand
Contact:

Post by Chris Wood »

Kewl, another case closed :)
test everything. hold on to the good.

Post Reply