php-src/ext/phar/cgidebug
Greg Beaver a919e2f858 fix serious logic error and potential security issue with phar_compiled_file and
phar_find_in_include_path.  We were allowing data-based phars to be executed, and actually marking phar-based phar archives
without '.phar' in the name as data-based phars, which would allow modifying them even if phar.readonly=0.  Add test for this sinister case
2008-05-08 00:49:37 +00:00

12 lines
466 B
Bash
Executable File

#!/bin/sh
export SCRIPT_NAME=/frontcontroller34.php
export PATH_INFO=/start/index.php
export SCRIPT_FILENAME=/home/cellog/workspace/php5/ext/phar/tests/frontcontroller34.php
export PATH_TRANSLATED=/home/cellog/workspace/php5/ext/phar/tests/frontcontroller34.php
export REDIRECT_STATUS=1
export REQUEST_METHOD=GET
export REQUEST_URI=/frontcontroller34.php/start/index.php
cd /home/cellog/workspace/php5/
ddd sapi/cgi/php-cgi &
cd /home/cellog/workspace/php5/ext/phar