Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64683 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27541 invoked from network); 8 Jan 2013 13:38:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jan 2013 13:38:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=nicolai.scheer@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nicolai.scheer@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.50 as permitted sender) X-PHP-List-Original-Sender: nicolai.scheer@gmail.com X-Host-Fingerprint: 74.125.82.50 mail-wg0-f50.google.com Received: from [74.125.82.50] ([74.125.82.50:33796] helo=mail-wg0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9E/78-16636-E512CE05 for ; Tue, 08 Jan 2013 08:38:40 -0500 Received: by mail-wg0-f50.google.com with SMTP id es5so336138wgb.29 for ; Tue, 08 Jan 2013 05:38:36 -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=vHCgMzSUX+JB5B1pXpPeoVp4T0TrpK2cAp+JfDy4q4g=; b=l2ooSZ/XPuonuhUEK82b8IGUyYv8FE/CY42rPk1eayJrs1n6MnEc9GaI2zTgZHzHMT xzVX6p1U4AqiCXipxxl0B7Y3JjU/cl4DBA7LbriDbkmNinyheK6WWDvLv81arYJEPJ4G mkxUcbL8VadjNrNF+TN5+D4oPa/+zVuWNYN6n7gLSKKm2xJAtVmK1vQLdIoAfa3M48My dmInIzv1lSC49IoNWojAa66X7U3NTg9G9QYroMrmGxqxwubjR6RZ0flBYoALGqr5Lgvq ZfMuKZXWOrd78WyqadO4tHQrbneNaNjTW2Ld44GPTgF8FU3NtJthQMvdYkkpjwK6+yVv LrNQ== MIME-Version: 1.0 Received: by 10.194.48.74 with SMTP id j10mr3698073wjn.36.1357652316162; Tue, 08 Jan 2013 05:38:36 -0800 (PST) Received: by 10.227.170.206 with HTTP; Tue, 8 Jan 2013 05:38:36 -0800 (PST) In-Reply-To: References: Date: Tue, 8 Jan 2013 14:38:36 +0100 Message-ID: To: Pierre Joye Cc: Ferenc Kovacs , PHP internals Content-Type: multipart/alternative; boundary=047d7ba975c80888c204d2c710cd Subject: Re: [PHP-DEV] File-Paths exceeding MAX_PATH on Windows From: nicolai.scheer@gmail.com (Nicolai Scheer) --047d7ba975c80888c204d2c710cd Content-Type: text/plain; charset=UTF-8 Hi! On 8 January 2013 14:27, Pierre Joye wrote: > hi, > > On Tue, Jan 8, 2013 at 2:24 PM, Nicolai Scheer > wrote: > > > What do you think? > > As I stated earlier, doing so is like opening the pandora box. I would > rather go with mounted directory and the likes to reduce the length of > the path, as long as it is possible. > I agree, but what about pandora and the other file functions like unlink() etc.? :) They currently do not prevent such long and prefixed paths... 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... Furthermore we only need to read files, and that's the only function currently not allowing the prefix workaround :( Greetings Nico --047d7ba975c80888c204d2c710cd--