[exim-dev] [Bug 2282] Support HTTP-based & JSON-parsing cont…

Top Page

Reply to this message
Author: admin
To: exim-dev
Old-Topics: [exim-dev] [Bug 2282] New: Support HTTP-based & JSON-parsing content scanning (rspamd)
Subject: [exim-dev] [Bug 2282] Support HTTP-based & JSON-parsing content scanning (rspamd)

--- Comment #8 from Victor Ustugov <victor@???> ---
(In reply to Jeremy Harris from comment #7)
> Thanks for pointing this out.
> Commits 9d03af0a7d and a3970a8819 address it, I hope.

Yes, it is.
But it is hard enough to parse the JSON array with unknown keys.
A function which returns a list of array keys and a function which check if key
exists in an array would be very useful.

Here is the result of an attempt to get an array element with a nonexistent

# exim -be '${extract json {required_score}{
\{"is_skipped":false,"score":14.70\} }}'
Failed: missing '"' wrapping string key for extract json

You are receiving this mail because:
You are on the CC list for the bug.