diff options
| author | Ben Fuhrmannek | 2014-11-25 15:24:31 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2014-11-25 15:24:31 +0100 |
| commit | 72572c6633843074c5ac355410cd622be775afd9 (patch) | |
| tree | 6f714a070898cbe85483672fab1cce2bb8003aa7 /tests/executor/function_whilelist.phpt | |
| parent | 720190413f66caa347cc7f386ca7abd43273e4ca (diff) | |
typo in filename
Diffstat (limited to 'tests/executor/function_whilelist.phpt')
| -rw-r--r-- | tests/executor/function_whilelist.phpt | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/executor/function_whilelist.phpt b/tests/executor/function_whilelist.phpt deleted file mode 100644 index 9017ab4..0000000 --- a/tests/executor/function_whilelist.phpt +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | --TEST-- | ||
| 2 | Testing: suhosin.executor.func.whitelist=abs | ||
| 3 | --SKIPIF-- | ||
| 4 | <?php include "../skipifnotcli.inc"; ?> | ||
| 5 | --INI-- | ||
| 6 | suhosin.log.sapi=64 | ||
| 7 | suhosin.executor.func.whitelist=abs | ||
| 8 | --FILE-- | ||
| 9 | <?php | ||
| 10 | abs(1); | ||
| 11 | max(1,2); | ||
| 12 | abs(1); | ||
| 13 | ?> | ||
| 14 | --EXPECTF-- | ||
| 15 | ALERT - function outside of whitelist called: max() (attacker 'REMOTE_ADDR not set', file '%s', line 3) | ||
| 16 | |||
| 17 | Warning: max() has been disabled for security reasons in %s on line 3 | ||
