[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#305850: w3mir: path to save files locally is incorrect

On Fri, Apr 22, 2005 at 02:41:53PM +0100, Dafydd Tomos wrote:
> If this is not a bug in the newer version of URI::URL, then
> a simple fix is to add the following line at line number 588
>   $lf_name =~ s/^\///;

One can not really call it a bug in URI::URL since the corresponding
specifications don't allow a syntax like file:index.html anyway, so
the behaviour is probably undefined (and a quick test of other
implementations indeed shows a wide range of behaviours).

The proper fix would probably be to use absolute file: URIs by
prepending the working directory. I will see if I can prepare a
patch for that.

Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/

Reply to: