Re: [PATCH] potential solution to user streams + allow_url_include=off

From: Date: Wed, 30 May 2007 08:15:52 +0000
Subject: Re: [PATCH] potential solution to user streams + allow_url_include=off
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-29944@lists.php.net to get a copy of this message
why then not have ini as follows: allow_url_(fopen|include)_(local|user|remote) That is 6 for the six cases - or is that too easy?
Because there's no need for 6 settings. Also, what allow_url_include_local is supposed to mean? Why would one prohibit local file access and local includes? The whole idea of the patch is to make user streams behave more like built-in streams while ensuring that random mistakes in user stream implementation (such as forgetting to check if the URL is local) would not lead the stream to include remote code. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/

« previous php.internals (#29944) next »