summaryrefslogtreecommitdiff
path: root/ext/phar/tests/tar/frontcontroller10.phar.phpt
blob: 23ce6f37e25540979d1c7372f13d232651f28cc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--TEST--
Phar front controller rewrite array invalid tar-based
--INI--
default_charset=UTF-8
--SKIPIF--
<?php if (!extension_loaded("phar")) die("skip"); ?>
--ENV--
SCRIPT_NAME=/frontcontroller10.phar.php
REQUEST_URI=/frontcontroller10.phar.php/hi
PATH_INFO=/hi
--FILE_EXTERNAL--
files/frontcontroller4.phar.tar
--EXPECTHEADERS--
Content-type: text/html; charset=UTF-8
Status: 403 Access Denied
--EXPECT--
<html>
 <head>
  <title>Access Denied</title>
 </head>
 <body>
  <h1>403 - File Access Denied</h1>
 </body>
</html>