php-src/ext/standard/tests/file/bug41655_1.phpt
2007-06-25 08:40:36 +00:00

11 lines
250 B
PHP

--TEST--
Bug #41655: open_basedir bypass via glob()
--INI--
open_basedir=/tmp
--FILE--
<?php
$a=glob("./*.jpeg");
?>
--EXPECTF--
Warning: glob(): open_basedir restriction in effect. File(.) is not within the allowed path(s): (/tmp) in %s on line %d