I added RFC 4627 JSON string quoting for the %letter substitutions
in the (query_)filter MongoDB parameter. For this, I updated the
existing json quoting function that was implemented for "postqueue
-j", and made it a library function (src/util/quote_for_json.c).

This means you can't just copy dict_mongodb.c, you'll need to use
the rest of the Postfix source code, too.

https://github.com/wietse-postfix/postfix-dukhovni/tree/mongodb

The remaining work is to secure the "projection" MongoDB parameter.

        Wietse
_______________________________________________
Postfix-devel mailing list -- postfix-devel@postfix.org
To unsubscribe send an email to postfix-devel-le...@postfix.org

Reply via email to