View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002232 | JEDI VCL | 00 JVCL Components | public | 2004-10-17 01:24 | 2004-10-17 09:00 |
Reporter | anonymous | Assigned To | remkobonte | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.00 BETA 2 | ||||
Target Version | Fixed in Version | 3.00 RC 1 | |||
Summary | 0002232: bug in TjvSearchFiles | ||||
Description | line 497 in JvSearchFiles.pas has written if cFileName[0] <> '.' then it should be if (cFileName <> '.') or (cFileName <> '..') and AnsiStrIComp(cFileName, 'System Volume Information') = 0 then Why folder names can begin with . (dot) I have successfully created folder '.net' not in windows explorer but in command line with md .net We should also skip 'System Volume Information' folder I have the experience of Search failing if we would like to search in that folder or even crashin application. | ||||
Tags | No tags attached. | ||||
|
* I have added function IsDotOrDotDot that replaces the cFileName[0] <> '.' check. * I have added 2 flags to TJvSearchFiles.Options: o soIncludeSystemHiddenDirs o soIncludeSystemHiddenFiles that are default off. So at default the component does NOT search in directories that are both hidden and system (such as 'System Volume Information'), and does NOT return files that are both hidden and system (such as IO.SYS) |
Date Modified | Username | Field | Change |
---|---|---|---|
2004-10-17 01:24 | anonymous | New Issue | |
2004-10-17 09:00 | remkobonte | Status | new => resolved |
2004-10-17 09:00 | remkobonte | Resolution | open => fixed |
2004-10-17 09:00 | remkobonte | Assigned To | => remkobonte |
2004-10-17 09:00 | remkobonte | Note Added: 0005417 |