[Bug 1632] New: [PATCH] UTF-8 hint sftp-server extension

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Aug 12 02:07:44 EST 2009


https://bugzilla.mindrot.org/show_bug.cgi?id=1632

           Summary: [PATCH] UTF-8 hint sftp-server extension
           Product: Portable OpenSSH
           Version: 5.2p1
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: sftp-server
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: cus at fazekas.hu


Created an attachment (id=1668)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=1668)
Add support for utf8 hint sftp extension to sftp-server

Currently the openssh sftp-server only supports sftp protocol version
3,
and unless I am mistaken there are no plans to support newer versions
of
this protocol.

The encoding of the filenames for this protocol version is unspecified,
so
there is no reliable way for an sftp client to detect the encoding of
the
filenames.

To solve this problem, I am proposing here a new sftp extension to
allow
the sftp server to give a hint to the clients whether or not they
should
interpret the filenames as utf-8. I tried to keep the patch as simple
as
possible (introduced a new command line parameter to sftp-server, when
specified, the server would send this extension)

I also made contact with Martin Prikryl, the developer of WinSCP, he
wrote
that if the extension got in to openSSH, he would be happy to add
support
for it: http://winscp.net/forum/viewtopic.php?t=7108

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list