[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] [metrics-db/master] Keep geoip-db-digest lines in sanitized bridge descriptors.
commit 09c8e18cd951fd320d55b32d3bba36032a6e080e
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
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