Prevent changes to other options from removing . from AutomapHostsSuffixes

This happened because we changed AutomapHostsSuffixes to replace "."
with "", since a suffix of "" means "match everything."  But our
option handling code for CSV options likes to remove empty entries
when it re-parses stuff.

Instead, let "." remain ".", and treat it specially when we're
checking for a match.

Fixes bug 12509; bugfix on 0.2.0.1-alpha.
This commit is contained in:
Nick Mathewson
2015-01-04 17:28:54 -05:00
parent 0872d8e3cf
commit 8ef6cdc39f
4 changed files with 9 additions and 11 deletions
+4
View File
@@ -0,0 +1,4 @@
o Minor bugfixes (automapping):
- Prevent changes to other optoins from removing the wildcard value "."
from "AutomapHostsSuffixes".