From: Greg Beaver Date: Mon, 11 Feb 2008 06:54:46 +0000 (+0000) Subject: update TODO X-Git-Tag: RELEASE_2_0_0a1~538 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca7ae5d19041f50fbc72ff611048d62609376b2f;p=php update TODO --- diff --git a/ext/phar/TODO b/ext/phar/TODO index ec7fb18516..c94936c210 100644 --- a/ext/phar/TODO +++ b/ext/phar/TODO @@ -60,9 +60,25 @@ Version 1.2.1 Version 2.0.0 - * ability to have Phar object return file class as offsetGet() result + X implement webPhar() rewrite as a callback that returns FALSE to deny access, or a string + representing a file within the archive to access. If unknown, the callback should return + the original request uri [Greg] + * implement automatic "mounting" of internal phar archives so that phar:///path/to/archive.phar/internal.phar/file + opens internal.phar and maps its manifest inside archive.phar. The manifest entry inside archive.phar + would be named "internal.phar/file". write access to internal files inside an internal phar would be + denied, as the entire archive must be added or removed at the same time. + * rework filename detection so that alias is always checked first + * make aliases containing '/' or '\' invalid + * implement manual mounting of external phar archives to locations inside a phar path, + $phar->mount('/path/to/external.phar', 'internal/path'); + this would travers external.phar's manifest, and add each entry as a virtual entry just like + automatic mounting of internal phars + * implement manual mounting of external paths to a directory inside a phar path. Because the mapping + would be to an external directory, write access would be allowed always. This allows + storing sqlite databases, cache, or template files in a location external to the phar. Copy of the files + would need to be performed in an installation step, phar would not attempt to do this for performance and + security reasons. X ability to store empty directories [Greg] - * implement PPG signing X tar support [Greg] X zip support [Greg] X Phar::copy($from, $to); [Greg]