summaryrefslogtreecommitdiff
path: root/src/tests/disable_function/disabled_functions_param_pos.phpt
diff options
context:
space:
mode:
authorBen Fuhrmannek2021-02-18 15:59:41 +0100
committerBen Fuhrmannek2021-02-18 15:59:41 +0100
commitfb9b3787246dff3e9b76e75f698ff7131ea5403d (patch)
tree919b4ba77dcfc5487a3906851c24e71f4d25ad82 /src/tests/disable_function/disabled_functions_param_pos.phpt
parent01528718850c8528ef6d2ed5296e244d4aa7b675 (diff)
rewrote parameter matching logic. breaks compatibility with previous versions.
Diffstat (limited to 'src/tests/disable_function/disabled_functions_param_pos.phpt')
-rw-r--r--src/tests/disable_function/disabled_functions_param_pos.phpt2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tests/disable_function/disabled_functions_param_pos.phpt b/src/tests/disable_function/disabled_functions_param_pos.phpt
index bacca62..4204548 100644
--- a/src/tests/disable_function/disabled_functions_param_pos.phpt
+++ b/src/tests/disable_function/disabled_functions_param_pos.phpt
@@ -9,6 +9,4 @@ sp.configuration_file={PWD}/config/disabled_functions_pos.ini
9system("id"); 9system("id");
10?> 10?>
11--EXPECTF-- 11--EXPECTF--
12Warning: [snuffleupagus][0.0.0.0][config][log] It seems that you wrote a rule filtering on the 1337th argument of the function 'system', but it takes only 1 arguments. Matching on _all_ arguments instead. in %a/disabled_functions_param_pos.php on line 2
13
14Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system', because its argument 'command' content (id) matched a rule in %a/disabled_functions_param_pos.php on line %d 12Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system', because its argument 'command' content (id) matched a rule in %a/disabled_functions_param_pos.php on line %d