The application now correctly encodes the url query string for the profile-picture name (for security reasons), removed a left-over print-statement

This commit is contained in:
W13R 2022-11-03 20:45:52 +01:00
parent 9f270c12b4
commit 1e32e2b5dd
3 changed files with 2 additions and 3 deletions

View file

@ -69,7 +69,7 @@
<ul class="userlist">
{% for user_ in user_list %}
<li class="userlistButton button" data-username="{{ user_.username }}">
<img src="{{ '/profilepictures?name='|add:user_.profile_picture_filename }}">
<img src="/profilepictures?name={{ user_.profile_picture_filename|urlencode }}">
<div>
{% if user_.first_name %}