Skip to content
Snippets Groups Projects
Commit 5469c3fb authored by ale's avatar ale
Browse files

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"
parent 37d4ecca
No related branches found
No related tags found
1 merge request!1Add the snuffleupagus module
Pipeline #93968 passed
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment