Subject: Re: ftp and basic auth
To: None <firstname.lastname@example.org, email@example.com>
From: Luke Mewburn <lukem@NetBSD.org>
Date: 08/08/2004 23:52:56
Content-Type: text/plain; charset=us-ascii
On Thu, Jul 22, 2004 at 03:24:26PM -0500, Eric Haszlakiewicz wrote:
| I just ran into a problem with ftp and http basic authentication.
| It appears that ftp base64 encodes username + ":" + password + "\0"
| and sends that as the Authorization string. This doesn't work with the
| latest tomcat. I looked a a couple other apps that send basic auth
| (firebird and internet explorer) and they _don't_ include the final \0.
| I was going to fix ftp (fetch.c:170-183), but noticed that it _explicit=
| keeps the \0 on there. So, is ftp broken, or is there some reason the =
| should be on there?
ftp was broken. I've applied a fix (ftp about:version =3D=3D 20040808).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (NetBSD)
-----END PGP SIGNATURE-----