From c3fddfecfab29504097932184389a94251991bc7 Mon Sep 17 00:00:00 2001 From: Ben Fuhrmannek Date: Tue, 14 Dec 2021 15:25:31 +0100 Subject: test cases for testing edge cases, eval and cmd execution --- .../disabled_functions_shell_exec_include_data.phpt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/tests/disable_function/disabled_functions_shell_exec_include_data.phpt (limited to 'src/tests/disable_function/disabled_functions_shell_exec_include_data.phpt') diff --git a/src/tests/disable_function/disabled_functions_shell_exec_include_data.phpt b/src/tests/disable_function/disabled_functions_shell_exec_include_data.phpt new file mode 100644 index 0000000..4c13db6 --- /dev/null +++ b/src/tests/disable_function/disabled_functions_shell_exec_include_data.phpt @@ -0,0 +1,16 @@ +--TEST-- +Disable functions - shell_exec via include(data://) +--SKIPIF-- + + +--INI-- +sp.configuration_file={PWD}/config/disabled_functions_extra.ini +allow_url_include=1 +--FILE-- + +--EXPECTF-- +Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0 + +Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'shell_exec', %a matched a rule in data%a line 1 \ No newline at end of file -- cgit v1.3