Date: Mon, 27 Nov 2000 21:59:56 +0900 (JST) From: sanewo@ba2.so-net.ne.jp To: FreeBSD-gnats-submit@freebsd.org Subject: bin/23128: libfetch doesn't behave as documented about FTP_PROXY Message-ID: <200011271259.eARCxur77219@ba2.so-net.ne.jp>
next in thread | raw e-mail | index | archive | help
>Number: 23128 >Category: bin >Synopsis: libfetch doesn't behave as documented about FTP_PROXY >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 27 05:10:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Takanori Saneto >Release: FreeBSD 4.2-STABLE i386 & 5.0-CURRENT >Organization: an individual >Environment: FreeBSD 4.2-STABLE & 5.0-CURRENT as of 27/Nov/2000 >Description: On FTP_PROXY environment variable, fetch(3) says "if no scheme is specified, FTP is assumed." But lib/libfetch/ftp.c sets default scheme as HTTP. 872 _ftp_get_proxy(void) : 879 if (!*purl->scheme) 880 strcpy(purl->scheme, SCHEME_HTTP); >How-To-Repeat: Put just a hostname to FTP_PROXY and invoke fetch. You will see fetch trying to connect proxy via http port (80). >Fix: Change the source as documented, or change the document as source behaves. >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?200011271259.eARCxur77219>