Escape % character in config file

This commit is contained in:
Antoine Nguyen
2023-09-14 10:33:02 +02:00
parent ec82b346a3
commit fb42636df0

View File

@@ -11,7 +11,7 @@ custom {
-- return no error
return nil,
-- header(s) to add
{['X-Spam-Score'] = string.format('%.2f', sc[1])},
{['X-Spam-Score'] = string.format('%%.2f', sc[1])},
-- header(s) to remove
{['X-Spam-Score'] = 1},
-- metadata to store