[
https://issues.apache.org/jira/browse/NET-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rory Winston closed NET-177.
----------------------------
Resolution: Fixed
Fix Version/s: 2.0
Patch applied. Thanks.
> 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
> Fix For: 2.0
>
> Attachments: FTPClient_parsePassive.diff
>
>
> 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.