Bug 73481

Summary: w3mir mirrors into root filesystem
Product: Ports & Packages Reporter: J Stein <joes>
Component: Individual Port(s)Assignee: Andrey A. Chernov <ache>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description J Stein 2004-11-03 16:40:36 UTC
	When using w3mir with a configuration file, regardless of any Cd: directives
	therein, all files are mirrored into the root filesystem.

Fix: 

It appears that there is no mechanism to remove the leading '/' from save-to file spec. 
This may be in w3http.pm but I have been unable to find the appropriate instance to correct.
How-To-Repeat: 
use this config file, for example:

Options: recurse, only-nonexistent, list-urls, list-nonmirrored
URL: http://www.example.com/
Initial-referer: -
Agent: Mozilla/4.0 
Pause: 8
Retry-pause: 16
Retries: 3
debug: 2
umask: 0077
Remove-Nomirror: off
File-Disposition: save
Verbosity: chatty
Cd: fetched
Disable-Headers: user
Fixup: off

all files retrieved will be under '/'
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-11-04 17:31:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ache

Over to maintainer.
Comment 2 Andrey A. Chernov freebsd_committer freebsd_triage 2005-04-19 15:02:43 UTC
State Changed
From-To: open->closed

Fixed