From 5469c3fb0a6cf3e02f05e070281d766bb8e27c8c Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Mon, 28 Apr 2025 13:43:19 +0100 Subject: [PATCH] Disable wrappers_whitelist Possibly causing the error: "[snuffleupagus][0.0.0.0][config][log] duplicate keyword 'list' on line 31 in Unknown on line 0" --- conf/php/snuffleupagus/default.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/php/snuffleupagus/default.rules b/conf/php/snuffleupagus/default.rules index 7f62296..e3f0427 100644 --- a/conf/php/snuffleupagus/default.rules +++ b/conf/php/snuffleupagus/default.rules @@ -28,9 +28,9 @@ sp.auto_cookie_secure.enable(); # PHP has a lot of wrappers, most of them aren't usually useful, you should # only enable the ones you're using. -sp.wrappers_whitelist.list("file,php,phar"); +#sp.wrappers_whitelist.list("file,php,phar"); # The "php" wrapper can be further filtered, e.g. to only allow `php://stdout`, `php://stdin` and `php://stderr`: -sp.wrappers_whitelist.php_list("stdout,stdin,stderr"); +#sp.wrappers_whitelist.php_list("stdout,stdin,stderr"); # Prevent sloppy comparisons. # sp.sloppy_comparison.enable(); -- GitLab