Find Files: Cannot exclude folders with [] in name

Things you’d like to miss in the future...
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: 60589
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @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: 60589
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @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