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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: admin
Dátum:  
Címzett: exim-dev
Régi témák: [exim-dev] [Bug 2282] New: Support HTTP-based & JSON-parsing content scanning (rspamd)
Tárgy: [exim-dev] [Bug 2282] Support HTTP-based & JSON-parsing content scanning (rspamd)
https://bugs.exim.org/show_bug.cgi?id=2282

--- 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
key:

# 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.