diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-30 13:10:35 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-12-16 11:06:21 -0500 |
commit | 52e196bab56d97f31e3fd24f187f842ac08cf7b7 (patch) | |
tree | 0fe37d83bb8f86d0e7ff03fd421d0bd0ffe8a2b8 /src | |
parent | 79d3e94f8b1769ee8d1957cb1d6dd35bd02a7271 (diff) | |
download | tor-52e196bab56d97f31e3fd24f187f842ac08cf7b7.tar.gz tor-52e196bab56d97f31e3fd24f187f842ac08cf7b7.zip |
Don't make $hexid nicknames persistent.
(That's asking for trouble, and also totally completely redundant.)
Diffstat (limited to 'src')
-rw-r--r-- | src/or/entrynodes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c index 1f6d562fd8..78257ca84d 100644 --- a/src/or/entrynodes.c +++ b/src/or/entrynodes.c @@ -2420,7 +2420,7 @@ entry_guard_encode_for_state(entry_guard_t *guard) fmt_and_decorate_addr(&guard->bridge_addr->addr), guard->bridge_addr->port); } - if (strlen(guard->nickname)) { + if (strlen(guard->nickname) && is_legal_nickname(guard->nickname)) { smartlist_add_asprintf(result, "nickname=%s", guard->nickname); } |