From d99797752b531fe9a36062ff49e59a10badebca1 Mon Sep 17 00:00:00 2001 From: Jordan Date: Mon, 2 Sep 2019 16:57:16 -0700 Subject: ensure contact string is HTML-safe --- tor-metrics/templates/relay-info.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tor-metrics/templates/relay-info.html b/tor-metrics/templates/relay-info.html index 79a5b24..be01cea 100644 --- a/tor-metrics/templates/relay-info.html +++ b/tor-metrics/templates/relay-info.html @@ -17,7 +17,7 @@
Contact
{% if relay['contact'] %} -
{{ relay['contact'] }}
+
{{ relay['contact']|escape }}
{% else %}
none
{% endif %} -- cgit v1.2.3-54-g00ecf