Bug in libfetch handling of FTP urls..

John Baldwin jhb at FreeBSD.org
Tue Jul 5 19:56:39 GMT 2005

On Sunday 03 July 2005 10:48 pm, Dag-Erling Smørgrav wrote:
> John Baldwin <jhb at FreeBSD.org> writes:
> > I verified this by doing 'fetch -vv' and seeing that it does one big CWD
> > (instead of the multiple CWD's the RFC says should happen) and that it
> > includes the leading '/' when it should not.
> I am currently testing a patch for this.

Ok, thanks.

> > Also, it seems that fetch ignores the ';type=X' optional part of the
> > url-path and always uses TYPE I.
> Correct, that was never implemented.  At the very least, the typecode
> should be stripped from the URL.

It does strip it out.  ;type=d support would be useful for some stuff I'm 
doing here at work but I've just punted for now and required an explicit 
MANIFEST file that I fetch first and then parse.

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org

More information about the freebsd-net mailing list