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:
parent
9f270c12b4
commit
1e32e2b5dd
3 changed files with 2 additions and 3 deletions
|
@ -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 %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue