Escape % character in config file
This commit is contained in:
@@ -11,7 +11,7 @@ custom {
|
|||||||
-- return no error
|
-- return no error
|
||||||
return nil,
|
return nil,
|
||||||
-- header(s) to add
|
-- header(s) to add
|
||||||
{['X-Spam-Score'] = string.format('%.2f', sc[1])},
|
{['X-Spam-Score'] = string.format('%%.2f', sc[1])},
|
||||||
-- header(s) to remove
|
-- header(s) to remove
|
||||||
{['X-Spam-Score'] = 1},
|
{['X-Spam-Score'] = 1},
|
||||||
-- metadata to store
|
-- metadata to store
|
||||||
|
|||||||
Reference in New Issue
Block a user