ID:               48257
 Updated by:       cel...@php.net
 Reported By:      cel...@php.net
-Status:           Assigned
+Status:           To be documented
 Bug Type:         PHAR related
 Operating System: n/a
 PHP Version:      5.3CVS-2009-05-13 (CVS)
 Assigned To:      cellog
 New Comment:

fixed in HEAD, 5.3, and pecl/phar

documentation needs to state that phar.require_hash does not affect
plain tar files, thus:

<?php
$a = new PharData('sometar.tar');
?>

will not fail if sometar.tar does not have a signature.

<?php
$a = new Phar('sometar.phar.tar');
?>

will fail if sometar.phar.tar does not contain a signature.


Previous Comments:
------------------------------------------------------------------------

[2009-05-13 06:24:06] cel...@php.net

Description:
------------
pear download Net_URL
php -r 'new PharData("Net_URL-1.0.15.tgz");'

results in exception, tar does not have signature.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=48257&edit=1

Reply via email to