commit 7e79bc05e77aa87a06ea0e1ad5e329a92e7a8dc0 Author: Isis Lovecruft isis@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,
tor-commits@lists.torproject.org