inspectFile fix

This commit is contained in:
bunkerity
2020-06-06 21:01:28 +02:00
parent ccaaa8b57d
commit efcf937109
3 changed files with 6 additions and 3 deletions

View File

@@ -1,2 +1,4 @@
SecUploadDir /tmp
SecUploadKeepFiles Off
SecRule FILES_TMPNAMES "@inspectFile /opt/scripts/clamav.sh" \
"phase:2,t:none,block,msg:'Virus found in uploaded file',id:'399999'"
"phase:2,t:none,deny,msg:'Virus found in uploaded file',id:'399999'"