Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jul 2005 09:02:50 GMT
From:      Jakob Breivik Grimstveit <jakob.grimstveit@starshipping.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/84161: fetch uses http_proxy for ftp url's
Message-ID:  <200507270902.j6R92oZd049776@www.freebsd.org>
Resent-Message-ID: <200507270910.j6R9AJJM085172@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@nusse ~]$ set | grep proxy
http_proxy=http://proxy.starshipping.com:8118/

[jakobbg@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507270902.j6R92oZd049776>