mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-10-30 17:47:55 +00:00
snuffleupagus 11
This commit is contained in:
@@ -27,7 +27,7 @@ CMD /bin/bash
|
|||||||
FROM system as build
|
FROM system as build
|
||||||
|
|
||||||
ARG MAILU_DEPS=prod
|
ARG MAILU_DEPS=prod
|
||||||
ARG SNUFFLEUPAGUS_VERSION=0.10.0
|
ARG SNUFFLEUPAGUS_VERSION=0.11.0
|
||||||
|
|
||||||
ENV VIRTUAL_ENV=/app/venv
|
ENV VIRTUAL_ENV=/app/venv
|
||||||
|
|
||||||
|
|||||||
1
towncrier/newsfragments/3647.misc
Normal file
1
towncrier/newsfragments/3647.misc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Upgrade to snuffleupagus 0.11, filter php:// wrapper types
|
||||||
@@ -26,6 +26,8 @@ sp.readonly_exec.enable();
|
|||||||
# PHP has a lot of wrappers, most of them aren't usually useful, you should
|
# PHP has a lot of wrappers, most of them aren't usually useful, you should
|
||||||
# only enable the ones you're using.
|
# only enable the ones you're using.
|
||||||
sp.wrappers_whitelist.list("file,php,phar,mailsosubstreams,mailsoliteral,mailsotempfile,mailsobinary");
|
sp.wrappers_whitelist.list("file,php,phar,mailsosubstreams,mailsoliteral,mailsotempfile,mailsobinary");
|
||||||
|
# The "php" wrapper can be further filtered: we probably don't want 'filter' nor 'fd'
|
||||||
|
sp.wrappers_whitelist.php_list("stdout,stdin,stderr,input,output,memory,temp");
|
||||||
|
|
||||||
# Prevent sloppy comparisons.
|
# Prevent sloppy comparisons.
|
||||||
sp.sloppy_comparison.enable();
|
sp.sloppy_comparison.enable();
|
||||||
|
|||||||
Reference in New Issue
Block a user