mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
new test for SCRIPT_NAME not containing the filename
This commit is contained in:
parent
2aa87329db
commit
50835e4bb7
1 changed files with 12 additions and 0 deletions
12
ext/phar/tests/frontcontroller30.phpt
Normal file
12
ext/phar/tests/frontcontroller30.phpt
Normal file
|
@ -0,0 +1,12 @@
|
|||
--TEST--
|
||||
Phar front controller with weird SCRIPT_NAME
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
--ENV--
|
||||
SCRIPT_NAME=/huh?
|
||||
REQUEST_URI=/huh?
|
||||
--FILE_EXTERNAL--
|
||||
files/frontcontroller8.phar
|
||||
--EXPECTF--
|
||||
oops did not run
|
||||
%a
|
Loading…
Add table
Add a link
Reference in a new issue