Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 1997 12:12:59 +0200
From:      =?iso-8859-1?Q?=C5ge_R=F8bekk?= <aagero@aage.priv.no>
To:        freebsd-bugs@freebsd.org
Subject:   fetch doesn't work with ftp URLS and HTTP_PROXY set
Message-ID:  <19970726121259.13881@aage.priv.no>

next in thread | raw e-mail | index | archive | help
/usr/bin/fetch does not parse correctly the requesting URL when using
HTTP_PROXY as a means for proxy-forwarding the request.

http.c, line 246:

    if (strncmp(uri, "http://", 7) == 0) {

should read


    if ((strncmp(uri, "http://", 7) == 0) || (strncmp("ftp://", 6) == 0)) {

in order to work properly with ftp URLs.

-aage



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