From 39929ce509361ee72746a9b971bdc531fbf0b843 Mon Sep 17 00:00:00 2001 From: kkadosh Date: Mon, 19 Mar 2018 16:39:47 +0000 Subject: The filename filter is now matching on callsite instead of implemsite (#167) * Add match on the file where the function is called * Add the test * Constify some params * Fix potentiel null deref * Return more before if execute_data is NULL --- src/tests/config/config_disabled_functions_called_file_r.ini | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/tests/config/config_disabled_functions_called_file_r.ini (limited to 'src/tests/config') diff --git a/src/tests/config/config_disabled_functions_called_file_r.ini b/src/tests/config/config_disabled_functions_called_file_r.ini new file mode 100644 index 0000000..17b019a --- /dev/null +++ b/src/tests/config/config_disabled_functions_called_file_r.ini @@ -0,0 +1 @@ +sp.disable_function.function_r("test").filename_r("file_r\\.php$").drop(); \ No newline at end of file -- cgit v1.3