Subject: bin/12492: ftp does not handle http redirects without host component
To: None <gnats-bugs@gnats.netbsd.org>
From: None <abs@netbsd.org>
List: netbsd-bugs
Date: 03/28/2001 11:08:29
>Number:         12492
>Category:       bin
>Synopsis:       ftp does not handle http redirects without host component
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 28 02:10:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     David Brownlee
>Release:        NetBSD-1.5_1_ALPHA
>Organization:
>Environment:
	
System: NetBSD wopr.i.purplei.com 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (_WOPR_) #0: Wed Jan 24 11:18:42 GMT 2001 abs@wopr.int.purplei.com:/files/transient/netbsd/src/sys/arch/i386/compile/_WOPR_ i386


>Description:
	If ftp receives an http redirect which does not contain a host
	component it does not assume the existing host.
>How-To-Repeat:

% ftp http://jakarta.apache.org/builds/tomcat/release/v3.2.1/src/jakarta-servletapi-3.2-src.tar.gz
Requesting http://jakarta.apache.org/builds/tomcat/release/v3.2.1/src/jakarta-servletapi-3.2-src.tar.gz
Redirected to /builds/jakarta-tomcat/release/v3.2.1/src/jakarta-servletapi-3.2-src.tar.gz
ftp: No address associated with hostname
ftp: Can't connect or login to host `/builds/jakarta-tomcat/release/v3.2.1/src/jakarta-servletapi-3.2-src.tar.gz'

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