Goldstein Lyor created SSHD-528:
-----------------------------------
Summary: Use byte[] as the SFTP Handle identifier
Key: SSHD-528
URL: https://issues.apache.org/jira/browse/SSHD-528
Project: MINA SSHD
Issue Type: Bug
Affects Versions: 1.0.0
Reporter: Goldstein Lyor
Assignee: Goldstein Lyor
Fix For: 1.0.0
According to the specification a _handle_ {quote}is an opaque variable-length
string{quote}. Up until now the tests used _String_(s) because they were
executed against the _Java_ server - which uses indeed strings. But real
servers use a bunch of bytes - which if we try to decode as UTF-8 might yield
exceptions since they might not be UTF-8 strings. E.g., it seems that _OpenSSH_
returns some kind of _int_ as the handle value.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)