commit | 588297f2f958cfb09226cfcc3c576308cf062a1d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Jun 16 15:16:40 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Jun 16 18:20:14 2014 +0200 |
tree | afca6a0f686997d272dc6b97668600d90b87ae7a | |
parent | 148f40866bd8b8804549a00c48f0a3d235a66829 [diff] |
MINOR: tools: add new functions to quote-encode strings qstr() and cstr() will be used to quote-encode strings. The first one does it unconditionally. The second one is aimed at CSV files where the quote-encoding is only needed when the field contains a quote or a comma.