Page 1 of 1

Find Files: Cannot exclude folders with [] in name

Posted: 19 May 2006 14:41
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).

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

Posted: 20 May 2006 09:33
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.

Posted: 20 May 2006 16:30
by Chris Wood
Yeah I thought so :)

So you checked all enterable characters?

Posted: 20 May 2006 22:22
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.

Posted: 21 May 2006 22:29
by Chris Wood
Kewl, another case closed :)