Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64686 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30128 invoked from network); 8 Jan 2013 13:40:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jan 2013 13:40:18 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.49 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.215.49 mail-la0-f49.google.com Received: from [209.85.215.49] ([209.85.215.49:55910] helo=mail-la0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 02/19-16636-0C12CE05 for ; Tue, 08 Jan 2013 08:40:16 -0500 Received: by mail-la0-f49.google.com with SMTP id fk20so443671lab.8 for ; Tue, 08 Jan 2013 05:40:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=QETbi52JqCGjH+jiVQOZgFVsQJjEfA69Ut8Fj2mVirc=; b=x5Yo8zTLGXs/uXYsH60ucMSsad8/3lWygL7eGSqewEaJr7XJUxkMEIOwFsKXTjAlf8 VQf0rfGpX8MVt4igxeb6Qmr+/0xnXmgWrcAwQpBpCw2OvFzsC+y8Hlx/9NcMbh5r0Wl6 faVUdv1qjlpIh9NL80B/iB8+h9XsRDX454GWmONZ+4Sik3t31fOQYwkRu7/GejnptO3j TGBx4S6sQaPfY2NE0ycwApRim6mO/8tvIpIrVvHnWIncXeKAuLQC68Bu3+1tMVgscJ0J yietJ7QXEPfIZV0cfRhCSfMG9VIcRkZqypt26hc5bbUti+IOwQoL98CUXQ072oYE0QI1 OF0A== MIME-Version: 1.0 Received: by 10.152.109.139 with SMTP id hs11mr62287024lab.13.1357652413198; Tue, 08 Jan 2013 05:40:13 -0800 (PST) Received: by 10.112.127.230 with HTTP; Tue, 8 Jan 2013 05:40:13 -0800 (PST) In-Reply-To: References: Date: Tue, 8 Jan 2013 14:40:13 +0100 Message-ID: To: Nicolai Scheer Cc: Ferenc Kovacs , PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] File-Paths exceeding MAX_PATH on Windows From: pierre.php@gmail.com (Pierre Joye) On Tue, Jan 8, 2013 at 2:38 PM, Nicolai Scheer 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