[exim-dev] [Bug 1745] redis expansions taking arbitrary para…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: admin
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: [exim-dev] [Bug 1745] redis expansions taking arbitrary parameters
https://bugs.exim.org/show_bug.cgi?id=1745

--- Comment #5 from Jeremy Harris <jgh146exb@???> ---
On further thought, better to always use the argv form, do our own splitting
on whitespace from the usual single lookup string - but providing for an
escape mechanism for whitespace. Also supply a quote routine to do said
escaping.

Examples:
#{lookup redis{SET keyname ${quote_redis:val with spaces}}}
${lookup redis{GET ${quote_redis:keyname with spaces}}}
${lookup redis{EVALSHA SHACODE 2 \
    arg1 ${quote_redis:arg 2} ${quote_redis:arg 3}}}


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