Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Dec 2001 11:08:08 -0800 (PST)
From:      Bill Fenner <fenner@research.att.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/32619: libfetch does not use RFC 1738's definiton of ftp: URLs
Message-ID:  <200112081908.fB8J88d31972@stash.attlabs.att.com>

next in thread | raw e-mail | index | archive | help

>Number:         32619
>Category:       bin
>Synopsis:       libfetch does not use RFC 1738's definiton of ftp: URLs
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 08 11:10:03 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Bill Fenner
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
AT&T
>Environment:
System: FreeBSD stash.attlabs.att.com 5.0-CURRENT FreeBSD 5.0-CURRENT #53: Thu Dec 6 13:03:35 PST 2001 root@stash.attlabs.att.com:/usr/obj/usr/src/sys/STASHNOV6 i386


	
>Description:
	

libfetch does not use RFC 1738's definition of FTP: URLs.  It appears
to send a single

CWD /<directory part of URL, without URL-escaping>

as opposed to splitting it at slashes, unescaping each piece, and
sending each as an argument to an individual CWD command.

>How-To-Repeat:
	

use "fetch" to fetch an ftp: URL.
Since there is no debugging output, use "tcpdump" to see what is sent
 on the ftp command channel.
>Fix:

	
Implement RFC 1738's definition of FTP: URLs, as fetch(1) used to before
libfetch was introduced.

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112081908.fB8J88d31972>