[Dovecot] Sieve escape user input

Stephan Bosch stephan at rename-it.nl
Wed Mar 19 00:48:33 UTC 2014


On 3/17/2014 9:09 PM, azurIt wrote:
> Hi,
>
> i'm having problems with escaping user input in sieve scripts. I'm using 'variables' extension and i can't find out how to escape character '$' - i tried '\$' and '$$' but nothing helps. Any ideas? Thanks.

Two options:

http://tools.ietf.org/html/rfc5229#section-3.1
http://tools.ietf.org/html/rfc5228#section-2.4.2.4

Both are arguably a bit ugly.

Regards,

Stephan.


More information about the dovecot mailing list