Commit fff80c38 authored by Claudemir Todo Bom's avatar Claudemir Todo Bom

* fix quote escape when calling abuse detector

parent 0534faf6
Pipeline #201 passed with stage
in 2 minutes and 22 seconds
......@@ -773,7 +773,7 @@ check_message:
malware = *
.ifndef WW_MM_MODE
accept condition = ${run{/usr/local/bin/ "$authenticated_id" "$recipients"}{false}{true}}
accept condition = ${run{/usr/local/bin/ "$authenticated_id" ${quote:$recipients}}{false}{true}}
authenticated = *
message = 2.0.0 message accepted
logwrite = "[FROZEN] message from ${authenticated_id} have ${recipients_count} recipients - ${run{/usr/local/bin/ "${authenticated_id}" "${message_id}" "${recipients}"}}"
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment