Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
2.4
-
None
-
None
Description
FilenameUtils.directoryContains("/abc", "/abcd") returns true, while FilenameUtils.directoryContains("/abc/", "/abcd") returns false.
The implementation does a simple checkStartsWith() without taking the separator into consideration.
Attachments
Issue Links
- is duplicated by
-
IO-466 FileUtils.directoryContains returns wrong response due to startsWith comparison
- Closed