[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Luasocket FTP problem
- From: ketmar <ketmar@...>
- Date: Fri, 7 Nov 2008 17:56:10 +0200
On Fri, 07 Nov 2008 15:43:26 +0000
Tim Channon <email@example.com> wrote:
> A web browse finds this and is correct.
> Editing line 69 of Luasockets ftp.lua from "pasv" to "PASV"
> Recreate the static linked Lua executable, then
> Magic, text is printed to console.
> FTP is a troublesome protocol and the question arises of whether there
> are other textual case problems. Maybe we need a test suite.
nope, that's not LuaSocket fault. someone else (author of affected
ftp-server) needs a test suite and, probably, some courses on carefull
specs reading. RFC 959 says this:
[some text ommited]
field. The command codes are four or fewer alphabetic characters.
Upper and lower case alphabetic characters are to be treated
identically. Thus, any of the following may represent the
RETR Retr retr ReTr rETr
so LuaSocket is perfectly right here and ftp-server is perfectly wrong.
send a bug-report to server vendors, please.