-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Package: proftpd-basic
Version: 1.3.3a-3
Severity: normal
Hello,
I found that ProFTPd does not switch a language with LANG client
command properly.
server starded with locale C:
$ telnet localhost 21
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 ProFTPD 1.3.3a Server (Debian) [::ffff:127.0.0.1]
LANG ja-JP
200 Using language ja-JP
USER user
331 Password required for user
PASS pass
230 User user logged in
PWD
257 "/" is the current directory
QUIT
221 Goodbye.
Connection closed by foreign host.
server starded with locale fr_FR.UTF-8:
$ telnet localhost 21
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 ProFTPD 1.3.3a Server (Debian) [::ffff:127.0.0.1]
LANG en-US
200 Utilisation de la langue en-US
USER user
331 Mot de passe requis pour user
PASS pass
230 Utilisateur user authentifié
PWD
257 "/" est le répertoire courant
QUIT
221 Au revoir.
Connection closed by foreign host.
server starded with locale ja_JP.UTF-8:
$ telnet localhost 21
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 ProFTPD 1.3.3a Server (Debian) [::ffff:127.0.0.1]
LANG en-US.UTF-8
200 言語 en-US.UTF-8 を使用します
USER user
331 user のパスワードを入力しください
PASS pass
230 user がログインしました
PWD
257 カレントディレクトリは "/" です
QUIT
221 さようなら.
Connection closed by foreign host.
Hmm, LANG command is accepted but the response message is not
affected. Is this a bug or spec?
Btw, last example is including another promlem. Refer to RFC959,
server SHOULD return the quoted directory name just after "257 " like
this:
257<space>"<directory-name>"<space><commentary>
Four catalogs (locale/{ja_JP,ko_KR,zh_CN,zh_TW}.po) have undesirable
translation. This is a problem of word order in those languages. Some
ftp client library (at least net/ftp in Ruby) expect the above syntax,
so it should be translated as well. I wouldn't mind correcting
Japanese one, but forwarding to upstream is better, I guess :-).
Thanks,
- --
Nobuhiro IMAI <[email protected]>
Key fingerprint = E57F 2482 4074 13BC 3B9A 165B C689 5B16 A620 4657
- -- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages proftpd-basic depends on:
ii adduser 3.112+nmu1 add and remove users and groups
ii debconf 1.5.36 Debian configuration management sy
ii debianutils 3.4.1 Miscellaneous utilities specific t
ii libacl1 2.2.49-4 Access control list shared library
ii libattr1 1:2.4.44-2 Extended attribute shared library
ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib
ii libcap2 1:2.19-3 support for getting/setting POSIX.
ii libncurses5 5.7+20100313-4 shared libraries for terminal hand
ii libpam-runtime 1.1.1-6 Runtime support for the PAM librar
ii libpam0g 1.1.1-6 Pluggable Authentication Modules l
ii libssl0.9.8 0.9.8o-2 SSL shared libraries
ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra
ii netbase 4.42 Basic TCP/IP networking system
ii sed 4.2.1-7 The GNU sed stream editor
ii ucf 3.0025+nmu1 Update Configuration File: preserv
ii update-inetd 4.38 inetd configuration file updater
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
proftpd-basic recommends no packages.
Versions of packages proftpd-basic suggests:
ii openbsd-inetd [inet-superse 0.20080125-6 The OpenBSD Internet Superserver
ii openssl 0.9.8o-2 Secure Socket Layer (SSL) binary a
pn proftpd-doc <none> (no description available)
pn proftpd-mod-ldap <none> (no description available)
pn proftpd-mod-mysql <none> (no description available)
pn proftpd-mod-odbc <none> (no description available)
pn proftpd-mod-pgsql <none> (no description available)
pn proftpd-mod-sqlite <none> (no description available)
- -- Configuration Files:
/etc/default/proftpd changed:
RUN="yes"
OPTIONS=""
- -- debconf information:
* shared/proftpd/inetd_or_standalone: standalone
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIVAwUBTLw8VMaJWxamIEZXAQr6mBAAgHyLmg2irlWZjejPgV4Sob+mOEv8vUQt
7TzwI42d0CeM27spPL+RsThaUKOofLSBef6C5ciABnuJuNIEIv6MTRg29yqAsJli
Umbpt2Fkmv+7dT/JRoXB60fkLgGJPvVTUW1GwXk8I9Ldgr+jYmUFQ6itzQyZwlTj
4H+S6uCwl80UuEm5FsC3vGkpOuQAwic3buaM2qNbrkZQK2sz30awzgEmxAjHNpPO
jDfHFqptQFeKYlUjhK74NBlrxxudZLKHmxpPYqu3O75AXJpX4Rk8DA/CDO7nTLji
vehnhF3qXKPGmPeb5qSli9QlypOcKfCykpwl5VSZMJMPhDM2WwHkhnY9d9kDznV4
9o8AOGQ4xoSyCcob2JZhHr2Dx2b2OYXf13Xwku3WjLnNJpufb7oJK0MmTG7829/7
qhwThbiY747JCC3A7QLStXQ53qvIzTKugvV1WQRRWfwow7maQcSP4b5qb8ILV06/
wjL5pONvTOPD+ymb/YdwX5KpHIGT/YfaSH4WzE57TgUzfED+BbmetDxFeB11KLCJ
cYe0CuVe/lsb52RorIF5jq6xTgN0YlRs/KtgW/hVrORu059KtUj5kwKOSRJLGzxe
pkxSnlwZyYNaZNtFumstUJokGUZ+2SayQp77STVE3nZ6tZuEDGZDPDtYGOI2X7Gw
JB7fLSWKzyQ=
=W7jV
-----END PGP SIGNATURE-----