mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Escape configuration values before sending them via CONF_CHANGED.
This commit is contained in:
committed by
Nick Mathewson
parent
86f68ed695
commit
643913de75
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user