Re: absolute paths only
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 ? :)
- application/octet-stream attachment: abs_path.patch