Skip to content
Snippets Groups Projects
Commit 643913de authored by Kamran Riaz Khan's avatar Kamran Riaz Khan Committed by Nick Mathewson
Browse files

Escape configuration values before sending them via CONF_CHANGED.

parent 86f68ed6
No related branches found
No related tags found
No related merge requests found
......@@ -718,7 +718,7 @@ set_options(or_options_t *new_val, char **msg)
if (!option_is_same(&options_format, new_val, old_options,
options_format.vars[i].name)) {
line = get_assigned_option(&options_format, new_val,
options_format.vars[i].name, 0);
options_format.vars[i].name, 1);
if (line) {
for (; line; line = line->next) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment