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

[tor-commits] [atlas/master] Revert "Escape contact information before display in template"



commit 71c4518b2e654e98d5050b5ee97d64d0beafa554
Author: Iain R. Learmonth <irl@xxxxxxxx>
Date:   Wed Dec 13 14:36:27 2017 +0000

    Revert "Escape contact information before display in template"
    
    This reverts commit 37a65a761afa5a62630c620ac00f42a228604df7.
---
 templates/details/router.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/details/router.html b/templates/details/router.html
index c9f79d5..2aea6b2 100644
--- a/templates/details/router.html
+++ b/templates/details/router.html
@@ -24,7 +24,7 @@
       <dd><%= relay.get('or_addresses') %></dd>
 
       <dt><span class="tip" title="These are the contact details of the Tor relay operator">Contact</span></dt>
-      <dd><%= _.escape( relay.get('contact')!='undefined' ? _.escape(relay.get('contact')) : 'none' ) %></dd>
+      <dd><%= _.escape( relay.get('contact')!='undefined' ? relay.get('contact') : 'none' ) %></dd>
 
       <dt><span class="tip" title="Address and port where the relay listens for directory requests.">Dir Address</span></dt>
       <dd><%= relay.get('dir_address') ? relay.get('dir_address') : 'none' %></dd>



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