From fenner@research.att.com  Sat Dec  8 11:08:21 2001
Return-Path: <fenner@research.att.com>
Received: from stash.attlabs.att.com (mpfg.attlabs.net [12.106.35.2])
	by hub.freebsd.org (Postfix) with ESMTP id 65C0E37B41C
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  8 Dec 2001 11:08:21 -0800 (PST)
Received: (from fenner@localhost)
	by stash.attlabs.att.com (8.11.6/8.11.6) id fB8J88d31972;
	Sat, 8 Dec 2001 11:08:08 -0800 (PST)
	(envelope-from fenner)
Message-Id: <200112081908.fB8J88d31972@stash.attlabs.att.com>
Date: Sat, 8 Dec 2001 11:08:08 -0800 (PST)
From: Bill Fenner <fenner@research.att.com>
Reply-To: Bill Fenner <fenner@research.att.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: libfetch does not use RFC 1738's definiton of ftp: URLs
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         32619
>Category:       bin
>Synopsis:       libfetch does not use RFC 1738's definiton of ftp: URLs
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    des
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 08 11:10:03 PST 2001
>Closed-Date:    Sat Sep 24 04:12:50 UTC 2011
>Last-Modified:  Sat Sep 24 04:12:50 UTC 2011
>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:
Responsible-Changed-From-To: freebsd-bugs->des 
Responsible-Changed-By: des 
Responsible-Changed-When: Sun Dec 9 05:08:57 PST 2001 
Responsible-Changed-Why:  
I wrote libfetch. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32619 

From: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:  
Subject: Re: bin/32619: libfetch does not use RFC 1738's definiton of ftp: URLs
Date: Mon, 10 Dec 2001 11:32:07 +1100

 See also PR ports/32601:
 	http://www.freebsd.org/cgi/query-pr.cgi?pr=32601
 
 Which caused this PR to be submitted.
 
 Edwin
 
 -- 
 Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
 edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
 ------------------+                       http://www.FatalDimensions.org/
State-Changed-From-To: open->closed 
State-Changed-By: eadler 
State-Changed-When: Sat Sep 24 04:12:49 UTC 2011 
State-Changed-Why:  
bin/32601 has more data (though this has a better synopsis) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=32619 
>Unformatted:
