Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21936 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3759 invoked by uid 1010); 19 Feb 2006 01:14:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 3744 invoked from network); 19 Feb 2006 01:14:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Feb 2006 01:14:59 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:29391] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 06/41-24075-196C7F34 for ; Sat, 18 Feb 2006 20:14:58 -0500 Received: (qmail 10000 invoked from network); 19 Feb 2006 01:14:53 -0000 Received: from localhost (HELO ANDI-NOTEBOOK.zend.com) (127.0.0.1) by localhost with SMTP; 19 Feb 2006 01:14:53 -0000 Message-ID: <7.0.1.0.2.20060218171430.02a1c038@zend.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Sat, 18 Feb 2006 17:14:51 -0800 To: "Sara Golemon" Cc: Wez Furlong ,"internals" In-Reply-To: <7.0.1.0.2.20060218170026.02a224f8@zend.com> References: <7.0.1.0.2.20060218170026.02a224f8@zend.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Nuking safe_mode From: andi@zend.com (Andi Gutmans) I just saw we have STREAM_DISABLE_OPEN_BASEDIR. Should I just check if that is 0 and do the open_basedir check in that case? At 05:02 PM 2/18/2006, Andi Gutmans wrote: >Hey, > >I'm nuking safe_mode and I found something odd. In streams, >php_plain_files_unlink() only checks php_check_open_basedir() when >ENFORCE_SAFE_MODE is flagged. I was planning on nuking >ENFORCE_SAFE_MODE completely. Is this a bug? Or should I rename >ENFORCE_SAFE_MODE to ENFORCE_OPEN_BASEDIR? > >Andi > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php