Re: File-Paths exceeding MAX_PATH on Windows

From: Date: Tue, 08 Jan 2013 13:40:13 +0000
Subject: Re: File-Paths exceeding MAX_PATH on Windows
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Tue, Jan 8, 2013 at 2:38 PM, Nicolai Scheer <[email protected]> wrote:

> I agree, but what about pandora and the other file functions like unlink()
> etc.? :)
> They currently do not prevent such long and prefixed paths...

A bug then, should be fixed. Yes, you don't want to hear that but... :-)

> And to my mind it is ok to let the user open the box (a little?) when he is
> doing so on purpose.
>
> Unfortunately mouting directories is too unflexible for our use case...

How so? can be easily automated for shared hosts and the likes.

> Furthermore we only need to read files, and that's the only function
> currently not allowing the prefix workaround :(


--
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org


Thread (15 messages)

« previous php.internals (#64686) next »