Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0
-
None
-
None
-
Solaris
Description
The following directory entries are not parsed by the UnixFTPEntryParser:
drwxr-x---+1464 chrism chrism 41472 Feb 25 13:17 20090225 drwxr-x---+1465 chrism chrism 41984 Feb 28 07:15 20090226 drwxr-x---+1465 chrism chrism 41984 Feb 28 07:15 20090227
The root cause is that the REGEX used to parse these Strings expects there is at least one space between the first '+' and the following decimal characters.
The REGEX format is:
<.......> (((r|-)(w|-)([xsStTL-]))((r|-)(w|-)([xsStTL-]))((r|-)(w|-)([xsStTL-])))\\+?\\s+ <.......> The problem is the pattern \\s+, it should be \\s*
Chris M.