[tor-commits] [bridgedb/develop] Remove two spaces before start of bridgelines on HTTPS distributor.

isis at torproject.org isis at torproject.org
Thu Jan 8 14:09:46 UTC 2015


commit 7e79bc05e77aa87a06ea0e1ad5e329a92e7a8dc0
Author: Isis Lovecruft <isis at torproject.org>
Date:   Thu Jan 8 14:02:18 2015 +0000

    Remove two spaces before start of bridgelines on HTTPS distributor.
    
     * CHANGE bridge lines created by the HTTPS distributor to not begin
       with two space characters.
     * FIXES #13123: https://bugs.torproject.org/13123
---
 lib/bridgedb/HTTPServer.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/HTTPServer.py b/lib/bridgedb/HTTPServer.py
index 464ae0d..6aebba1 100644
--- a/lib/bridgedb/HTTPServer.py
+++ b/lib/bridgedb/HTTPServer.py
@@ -750,7 +750,7 @@ class WebResourceBridges(resource.Resource):
                                                        self.nBridgesToGive,
                                                        countryCode,
                                                        bridgeFilterRules=rules)
-            bridgeLines = "".join("  %s\n" % b.getConfigLine(
+            bridgeLines = "".join("%s\n" % b.getConfigLine(
                 includeFingerprint=self.includeFingerprints,
                 addressClass=addressClass,
                 transport=transport,





More information about the tor-commits mailing list