Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
4.8.3
-
None
-
Linux pc 3.4.6-1-CHAKRA #1 SMP PREEMPT Fri Jul 20 02:25:41 UTC 2012 x86_64 GNU/Linux
Description
QFtpDTP::parseDir() during ftp LIST response, "unixPattern" is initialized with an "incorrect" expresion:
"^([\\-dl])([a-zA-Z\\-]{9,9})\\s+\\d+\\s+(\\S*)\\s+" "(\\S*)\\s+(\\d+)\\s+(\\S+\\s+\\S+\\s+\\S+)\\s+(\\S.*)"
Solution:
"^([\\-dl])([a-zA-Z\\-]{9,9})\\s+\\d+\\s+(\\S*)\\s*" "(\\S*)\\s+(\\d+)\\s+(\\S+\\s+\\S+\\s+\\S+)\\s+(\\S.*)"
By this modification, the group leading space character is optional.