From nkritsky@internethelp.ru  Fri Jul  6 02:21:47 2001
Return-Path: <nkritsky@internethelp.ru>
Received: from internethelp.ru (wh.internethelp.ru [212.113.112.145])
	by hub.freebsd.org (Postfix) with ESMTP id CAC7537B401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  6 Jul 2001 02:21:43 -0700 (PDT)
	(envelope-from nkritsky@internethelp.ru)
Received: (from root@localhost)
	by internethelp.ru (8.9.3/8.9.3) id NAA72326
	for FreeBSD-gnats-submit@freebsd.org; Fri, 6 Jul 2001 13:21:41 +0400 (MSD)
Message-Id: <200107060921.NAA72326@internethelp.ru>
Date: Fri, 6 Jul 2001 13:21:41 +0400 (MSD)
From: "Nickolay A. Kritsky" <nkritsky@internethelp.ru>
Reply-To: "Nickolay A. Kritsky" <nkritsky@internethelp.ru>
To: FreeBSD-gnats-submit@freebsd.org
Subject: fetch(1) problems when reporting about an error 
X-Send-Pr-Version: 3.2

>Number:         28763
>Category:       bin
>Synopsis:       fetch(1) problems when reporting about an error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 06 02:30:01 PDT 2001
>Closed-Date:    Fri Jul 6 06:21:48 PDT 2001
>Last-Modified:  Wed Oct 26 05:50:33 GMT 2005
>Originator:     
>Release:        
>Organization:
>Environment:

	

Description: 


if argument given to fetch(1) is an ascii line of type '/.*' program exits with 
segmentation fault. if argument is of type '\./' program reports: 'fetch: fetch.
out : Invalid URL scheme ', what is IMO the bug.                                
                                                                                
How-To-Repeat: 

bash#fetch 'http://www.freebsd.org' /a                   
Receiving www.freebsd.org (13861 bytes): 100%            
13861 bytes transferred in 1.1 seconds (11.85 kBps)      
Segmentation fault (core dumped)                         

bash#fetch 'http://www.freebsd.org' ./                   
Receiving www.freebsd.org (13861 bytes): 100%            
13861 bytes transferred in 1.1 seconds (11.85 kBps)      
fetch: fetch.out: Invalid URL scheme                     

>Description:
 Originator:     Nickolay A. Kritsky
 Synopsis:fetch shows various problems reporting about bad URL
 Category: bin
 Release:        FreeBSD 4.2-RELEASE i386
>How-To-Repeat:
>Fix:

	


--f669Gbx11746.994410997/iso.internethelp.ru--


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dd 
State-Changed-When: Fri Jul 6 06:21:48 PDT 2001 
State-Changed-Why:  
please try a newer release; I can't reproduce this. 
fetch 'http://www.freebsd.org' /a 
does that it should; it transfers http://www.freebsd.org/ and the contents of /a. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=28763 
>Unformatted:
