Bug 32619

Summary: libfetch does not use RFC 1738's definiton of ftp: URLs
Product: Base System Reporter: Bill Fenner <fenner>
Component: binAssignee: Dag-Erling Smørgrav <des>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   

Description Bill Fenner 2001-12-08 19:10:03 UTC
	

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.

Fix: 

Implement RFC 1738's definition of FTP: URLs, as fetch(1) used to before
libfetch was introduced.
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.
Comment 1 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2001-12-09 13:08:57 UTC
Responsible Changed
From-To: freebsd-bugs->des

I wrote libfetch.
Comment 2 edwin 2001-12-10 00:32:07 UTC
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/
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2011-09-24 05:12:49 UTC
State Changed
From-To: open->closed

bin/32601 has more data (though this has a better synopsis)