Subject: ftp and basic auth
To: None <firstname.lastname@example.org>
From: Eric Haszlakiewicz <email@example.com>
Date: 07/22/2004 15:24:26
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 _explicitly_
keeps the \0 on there. So, is ftp broken, or is there some reason the \0
should be on there?