]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: cfgparse: introduce weak and strong quoting
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 5 May 2015 15:37:14 +0000 (17:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 5 May 2015 19:05:44 +0000 (21:05 +0200)
commitf9873ba63a6c02e9350d71c8b85f5e5c46c68f46
tree062436d1f025c1530cfd626f6279d9b091673c34
parente428b08ee72879072897d1bcfa38589b7d1a89a5
MEDIUM: cfgparse: introduce weak and strong quoting

This patch introduces quoting which allows to write configuration string
including spaces without escaping them.

Strong (with single quotes) and weak (with double quotes) quoting are
supported. Weak quoting supports escaping and special characters when
strong quoting does not interpret anything.

This patch could break configuration files where ' and " where used.
doc/configuration.txt
src/cfgparse.c