mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-05 14:24:25 +01:00
Fixing XSS issue for users
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
{% for team in teams %}
|
||||
<tr>
|
||||
<td><a href="/team/{{ team.id }}">{{ team.name }}</a></td>
|
||||
<td><a href="{{ team.website }}">{% if team.website %}{{ team.website }}{% endif %}</a></td>
|
||||
<td>{% if team.website and team.website.startswith('http') %}<a href="{{ team.website }}">{{ team.website }}</a>{% endif %}</td>
|
||||
<td><span>{% if team.affiliation %}{{ team.affiliation }}{% endif %}</span></td>
|
||||
<td><span>{% if team.country %}{{ team.country }}{% endif %}</span></td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user