FTPClient fails to parse valid PASV responses
---------------------------------------------
Key: NET-177
URL: https://issues.apache.org/jira/browse/NET-177
Project: Commons Net
Issue Type: Bug
Affects Versions: 1.4, 1.5, 2.0
Environment: All, this is a source problem, not an environment problem
Reporter: Chris Eagle
Priority: Minor
The FTPClient.__parsePassiveModeReply function expects PASV mode parameters to
be enclosed in parenthesis. While this is often the case, it is not a
requirement and parsing fails with a StringIndexOutOfBoundsException when PASV
mode parameters are not enclosed in parenthesis.
Please refer to RFC 1123 section 4.1.2.6 for more information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.