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. Gruesse, -- Frank Lichtenheld <[EMAIL PROTECTED]> www: http://www.djpig.de/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]