MINOR: standard: add function "escape_chunk"
authorDragan Dosen <ddosen@haproxy.com>
Fri, 12 Feb 2016 12:23:02 +0000 (13:23 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 12 Feb 2016 12:36:47 +0000 (13:36 +0100)
commit0edd10925d6aeef2d283928f257df68c6f97b306
treee0b90ed2057d90b3ce8e63f1ecd249de3459f496
parent1de1659923cf44cd9fd36dff663b18a8f897428c
MINOR: standard: add function "escape_chunk"

This function tries to prefix all characters tagged in the <map> with the
<escape> character. The specified <chunk> contains the input to be
escaped.
include/common/standard.h
src/standard.c