Package: vsftpd
Version: 2.3.5-3

Dear Maintainer,

Debian patch debian/patches/07-utf8.patch adds an "utf8_filesystem"
config option and if it is enabled, vsftpd reports UTF-8 capability
(in file features.c, around line 32). However, UTF-8 capability is
also reported unconditionally at line 55, so we get incorrect
filenames when the local host is not using UTF-8.

I suggest removing the unconditional report:



--- vsftpd-2.3.5.orig/features.c  2011-12-14 16:57:32.000000000 +0100
+++ vsftpd-2.3.5/features.c  2014-07-11 09:53:09.000000000 +0200
@@ -48,7 +52,6 @@ handle_feat(struct vsf_session* p_sess)
   vsf_cmdio_write_raw(p_sess, " REST STREAM\r\n");
   vsf_cmdio_write_raw(p_sess, " SIZE\r\n");
   vsf_cmdio_write_raw(p_sess, " TVFS\r\n");
-  vsf_cmdio_write_raw(p_sess, " UTF8\r\n");
   vsf_cmdio_write(p_sess, FTP_FEAT, "End");
 }



OS version:     Debian GNU/Linux 7.5 (Wheezy)
Kernel version: Linux ftp-server 2.6.34.14 #1 SMP Thu Jan 24 18:00:00 CET 2013 
i686 GNU/Linux
libc version:   2.13-38+deb7u1
Locale:         en_US.ISO-8859-2


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to