[or-cvs] [metrics-db/master] Keep geoip-db-digest lines in sanitized bridge descriptors.
karsten at torproject.org
karsten at torproject.org
Wed Jan 19 06:59:59 UTC 2011
commit 09c8e18cd951fd320d55b32d3bba36032a6e080e
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Wed Jan 19 07:59:10 2011 +0100
Keep geoip-db-digest lines in sanitized bridge descriptors.
---
.../ernie/db/SanitizedBridgesWriter.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/org/torproject/ernie/db/SanitizedBridgesWriter.java b/src/org/torproject/ernie/db/SanitizedBridgesWriter.java
index 651c5fe..aa5e1d7 100644
--- a/src/org/torproject/ernie/db/SanitizedBridgesWriter.java
+++ b/src/org/torproject/ernie/db/SanitizedBridgesWriter.java
@@ -575,7 +575,8 @@ public class SanitizedBridgesWriter {
|| line.startsWith("geoip-start-time ")
|| line.startsWith("geoip-client-origins ")
|| line.startsWith("bridge-stats-end ")
- || line.startsWith("bridge-ips ")) {
+ || line.startsWith("bridge-ips ")
+ || line.startsWith("geoip-db-digest ")) {
scrubbed.append(line + "\n");
/* When we reach the signature, we're done. Write the sanitized
More information about the tor-commits
mailing list