Goldstein Lyor created SSHD-909:
-----------------------------------
Summary: Fix SFTP version re-negotiation support
Key: SSHD-909
URL: https://issues.apache.org/jira/browse/SSHD-909
Project: MINA SSHD
Issue Type: Bug
Affects Versions: 2.2.0
Reporter: Goldstein Lyor
Assignee: Goldstein Lyor
According to the
[standard|[https://tools.ietf.org/html/draft-ietf-secsh-filexfer-11#section-5.5]]
the versions are *strings* whereas the current code always treats them as
*integers*.
{quote}
string "versions"
string comma-separated-versions
'comma-separated-versions' is a string of comma separated version
numbers. Defined versions are: "2", "3", "4", "5", "6". Any other
version advertised by the server must follow the DNS extensibility
naming convention outlined in [RFC4251].
For example: "2,3,6,[email protected]".
{quote}
Note: the same applies for the client's choice
{quote}
string "version-select"
string version-from-list
{quote}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)