[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [atlas/master] Removes the sanitised port number from bridge details (See: #24160)



commit 8b4572645e13c05ecc8ecaaaab354b485aedcabf
Author: Iain R. Learmonth <irl@xxxxxxxx>
Date:   Tue Nov 21 17:42:02 2017 +0000

    Removes the sanitised port number from bridge details (See: #24160)
---
 js/models/relay.js | 1 -
 1 file changed, 1 deletion(-)

diff --git a/js/models/relay.js b/js/models/relay.js
index f89eacb..8b09d88 100644
--- a/js/models/relay.js
+++ b/js/models/relay.js
@@ -175,7 +175,6 @@ define([
                         var new_addresses = [];
                         _.each(relay.or_addresses, function(or_addr) {
                             var addr = or_addr[0] == '[' ? "IPv6" : "IPv4";
-                            addr += or_addr.slice(or_addr.lastIndexOf(":"));
                             new_addresses.push(addr);
                         });
                         relay.or_addresses = new_addresses;



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits