Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: absolute paths only

From: <>
Date: Wed, 26 Sep 2007 07:33:57 -0700 (PDT)

On Wed, 26 Sep 2007, Daniel Stenberg wrote:

> Right, but it would be very easy to just check if
> the first letter in the path is a slash or not
> and just return an error if not?
> Or perhaps it would be even
> better to prepend a slash for that case if that option is enabled?

Yes, that would probably be the best solution. And that
will make the option completely unnecessary. Actually, libcurl should
not go back to the entry path when the path starts with a slash.(1)

> So, while it isn't worth bending over backwards for I still think it is
> at least consider and discuss properly before dismissing the idea

So, what about this patch ? :)


Received on 2007-09-26

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET