Date: | Mon, 24 Jan 2005 21:47:01 +0100 |
From: | Max Maischein <corion [...] corion.net> |
To: | bug-File-Fetch [...] rt.cpan.org |
Subject: | File::Fetch v0.07 does not respect the hostname for file:// URIs |
Hi Jos,
a problem I already reported for CPANPLUS was now moved to File::Fetch:
In lib/File/Fetch.pm v0.07, line 145+
### file:// paths have no host ###
if( $href->{scheme} eq 'file' ) {
$href->{path} = $uri;
$href->{host} = '';
This is simply wrong. At least under Win32, a file path (as UNC) can
well have, and has on my CPANPLUS setup, a hostname. So the fix is not
to (re)set the hostname.
-max