diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-11-29 01:57:27 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-11-29 01:57:27 +0100 |
commit | 1ebea2e6914e5d2c4f07654bdbd489aa2c1ce165 (patch) | |
tree | e556e75012fa9301ad0b3b81db648f628cd98542 /src | |
parent | d33442c2576793420802bbd54127923079c487c4 (diff) | |
download | vyconf-1ebea2e6914e5d2c4f07654bdbd489aa2c1ce165.tar.gz vyconf-1ebea2e6914e5d2c4f07654bdbd489aa2c1ce165.zip |
Escape special characters inside value strings when converting configs to commands.
Diffstat (limited to 'src')
-rw-r--r-- | src/config_tree.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config_tree.ml b/src/config_tree.ml index ef16ac9..28cfcdd 100644 --- a/src/config_tree.ml +++ b/src/config_tree.ml @@ -286,7 +286,7 @@ struct match child_names with | [] -> (* This is a leaf node *) - let values = data.values in + let values = List.map String.escaped data.values in let cmds = begin match values with |