summaryrefslogtreecommitdiff
path: root/src/tests/disable_function/disabled_functions_eval_param.phpt
diff options
context:
space:
mode:
authorJulien Voisin2023-02-02 13:21:23 +0100
committerGitHub2023-02-02 13:21:23 +0100
commitaa6380abe6f85443841baf708a1d28f474d5f6c8 (patch)
treea1b4b74396e89f66ccb9f54fe878ba607c103aec /src/tests/disable_function/disabled_functions_eval_param.phpt
parentf4d3c01bd196400548f5712223171007563ab834 (diff)
parent2dcf2a2d7578d1e43ee7e3fa69386ccc5afebbf0 (diff)
Url encode functions arguments when logging them
Diffstat (limited to '')
-rw-r--r--src/tests/disable_function/disabled_functions_eval_param.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/disable_function/disabled_functions_eval_param.phpt b/src/tests/disable_function/disabled_functions_eval_param.phpt
index 4f3f1ef..7d0487a 100644
--- a/src/tests/disable_function/disabled_functions_eval_param.phpt
+++ b/src/tests/disable_function/disabled_functions_eval_param.phpt
@@ -11,4 +11,4 @@ eval('$var = 1337 + 1337;');
11print("Variable: $var\n"); 11print("Variable: $var\n");
12?> 12?>
13--EXPECTF-- 13--EXPECTF--
14Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'eval', because its argument 'code' content ($var = 1337 + 1337;) matched a rule in %s/tests/disable_function/disabled_functions_eval_param.php(3) : eval()'d code on line 1 14Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'eval', because its argument 'code' content (%24var%20%3D%201337%20%2B%201337%3B) matched a rule in %s/tests/disable_function/disabled_functions_eval_param.php(3) : eval()'d code on line 1