diff options
| author | Ben Fuhrmannek | 2021-02-18 15:59:41 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2021-02-18 15:59:41 +0100 |
| commit | fb9b3787246dff3e9b76e75f698ff7131ea5403d (patch) | |
| tree | 919b4ba77dcfc5487a3906851c24e71f4d25ad82 /src/tests/disable_function/disabled_functions_param_pos.phpt | |
| parent | 01528718850c8528ef6d2ed5296e244d4aa7b675 (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.phpt | 2 |
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 | |||
| 9 | system("id"); | 9 | system("id"); |
| 10 | ?> | 10 | ?> |
| 11 | --EXPECTF-- | 11 | --EXPECTF-- |
| 12 | Warning: [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 | |||
| 14 | Fatal 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 | 12 | Fatal 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 |
