History log of /PHP-7.1/ext/phar/phar_internal.h (Results 76 – 85 of 85)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 09e1f024 13-Jun-2008 Greg Beaver

PHP_5_2 compat - add pestrndup if undefined


# 9c8d13fd 13-Jun-2008 Greg Beaver

partial refactor - move signature verification into its own function, in preparation for tar/zip signature support.
next is signature creation


# 98f2dc2a 12-Jun-2008 Greg Beaver

[DOC] add phar.cache_list, a PATH_SEPARATOR-separated list of full paths to phar archives to cache
at startup. This caches the manifest, so that on first access to a phar archive, no file manife

[DOC] add phar.cache_list, a PATH_SEPARATOR-separated list of full paths to phar archives to cache
at startup. This caches the manifest, so that on first access to a phar archive, no file manifest parsing occurs.

This could use further tweaking. For instance, the full copy of the manifest into the current process may be unnecessary if refcounting could be external
to the manifest. This would be another significant gain. With APC, I measure a slight perf increase to 19 req/sec up from 16 req/sec, without it approaches
regular PHP at 3.8 req/sec (regular is 4 req/sec). This is benching phpMyAdmin

show more ...


# 5fbeb235 01-Jun-2008 Greg Beaver

add openssl signing support. This adds an extra parameter
for the contents of the exported private key to Phar->setSignatureAlgorithm, and expects the public key to be in
a file named blah.p

add openssl signing support. This adds an extra parameter
for the contents of the exported private key to Phar->setSignatureAlgorithm, and expects the public key to be in
a file named blah.phar.pubkey in the same directory as the phar blah.phar. This works with openssl static or
shared and fails gracefully if openssl is not present without adding a dependency. config.w32 needs updating to match config.m4 [DOC]

show more ...


# 8b600a72 30-May-2008 Greg Beaver

refactor function names for clarity. No functionality change


# 1f661c81 21-May-2008 Greg Beaver

fix offset detection in tar files


# 4aa4f1fa 17-May-2008 Greg Beaver

enable by default statically instead of shared
this is done by removing zlib/bz2 explicit dependencies because they are unnecessary
we only ever use the stream filter, and the check for exist

enable by default statically instead of shared
this is done by removing zlib/bz2 explicit dependencies because they are unnecessary
we only ever use the stream filter, and the check for existence has
been moved to runtime where it is after startup

show more ...


# de5aaaa7 15-May-2008 Greg Beaver

fix potentially major security hole: modification/creation of files in .phar directory enabled in many locations
which then allows easy creation of tar/zip-based phar archives with a simple renam

fix potentially major security hole: modification/creation of files in .phar directory enabled in many locations
which then allows easy creation of tar/zip-based phar archives with a simple rename even when phar.readonly=1. Plug the hole very tightly, allowing read access to
files, and also excluding them from opendir() output

show more ...


# 6a0682d9 14-May-2008 Steph Fox

- MFH
- Make internal code forward-compatible. This included a binary cast in the default stub, hence test updates.


Revision tags: RELEASE_1_2_5
# 16b4d8e0 12-May-2008 SVN Migration

This commit was manufactured by cvs2svn to create branch 'PHP_5_3'.


1234