|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-05-13 06:24 UTC] cellog@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.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 20 15:00:01 2025 UTC |
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.