mirror of
https://github.com/php/php-src.git
synced 2024-09-27 04:47:22 +00:00
a919e2f858
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
12 lines
466 B
Bash
Executable File
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
|