cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: libcurl's treatment of `file:' and absolute paths

From: Stefan Ulrich <stefan.ulrich_at_elexir.de>
Date: Mon, 6 Aug 2001 16:08:05 +0200

Daniel Stenberg <daniel_at_haxx.se> writes:

> It is indeed a clear indication that I am pretty lonely in my interpretation
> of how to deal with the file: URLs without an initial slash. They all seem to
> assume that if the "relative" paths are all specified from the root /.

Yes, even though the RFC tells a different story - it's rather
weird.

> So then I suggest the attached patch to make libcurl act like
> "the rest".

Thanks for this, works perfectly.

> Does that fit your view and the other tools' views of reality?

Well it's no longer my view now ;-) but given all those other
applications, desired compatibility to libwww etc., I think it's
the right way to go :-)

Best regards

-- 
Stefan Ulrich
Received on 2001-08-06