From c26d0924bf37d565c447ddf48e024728b3b7f4fb Mon Sep 17 00:00:00 2001 From: CodeKevin Date: Sun, 15 Mar 2015 14:44:47 -0400 Subject: [PATCH] Fixing XSS issue for users --- templates/teams.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/teams.html b/templates/teams.html index 37d589ad..8bd80fd2 100644 --- a/templates/teams.html +++ b/templates/teams.html @@ -18,7 +18,7 @@ {% for team in teams %} {{ team.name }} - {% if team.website %}{{ team.website }}{% endif %} + {% if team.website and team.website.startswith('http') %}{{ team.website }}{% endif %} {% if team.affiliation %}{{ team.affiliation }}{% endif %} {% if team.country %}{{ team.country }}{% endif %}