bin/84161: fetch uses http_proxy for ftp url's

Jakob Breivik Grimstveit jakob.grimstveit at starshipping.com
Wed Jul 27 09:12:00 GMT 2005


>Number:         84161
>Category:       bin
>Synopsis:       fetch uses http_proxy for ftp url's
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 27 09:10:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jakob Breivik Grimstveit
>Release:        5.4
>Organization:
Star Shipping
>Environment:
FreeBSD nusse.starshipping.com 5.4-RELEASE-p3 FreeBSD 5.4-RELEASE-p3 #14: Wed Jul  6 05:26:14 CEST 2005     root at nusse.starshipping.com:/usr/obj/usr/src/sys/NUSSE  i386

>Description:
fetch seems to use environment variable http_proxy even though it is going to fetch a file via ftp:

[jakobbg at nusse ~]$ set | grep proxy
http_proxy=http://proxy.starshipping.com:8118/

[jakobbg at nusse ~]$ fetch ftp://ftp.vim.org/pub/vim/patches/6.3/6.3.001
fetch: ftp://ftp.vim.org/pub/vim/patches/6.3/6.3.001: Not Found

[jakobbg at nusse ~]$ wget ftp://ftp.vim.org/pub/vim/patches/6.3/6.3.001 
--11:00:54--  ftp://ftp.vim.org/pub/vim/patches/6.3/6.3.001
           => `6.3.001'
Resolving ftp.vim.org... 192.87.102.36
Connecting to ftp.vim.org|192.87.102.36|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/vim/patches/6.3 ... done.
==> PASV ... done.    ==> RETR 6.3.001 ... done.
Length: 2,672 (2.6K) (unauthoritative)

100%[====================================>] 2,672         --.--K/s             

11:00:54 (203.76 KB/s) - `6.3.001' saved [2672]
>How-To-Repeat:
Set http_proxy to a false hostname and try to fetch an FTP URI.
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list