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
|
@ -3,7 +3,7 @@
|
|||
|
||||
<div class="userPanel">
|
||||
<div class="userInfo">
|
||||
<img src="{{ '/profilepictures?name='|add:user.profile_picture_filename }}">
|
||||
<img src="/profilepictures?name={{ user.profile_picture_filename|urlencode }}">
|
||||
<span>
|
||||
{% if user.first_name != "" %}
|
||||
{% translate "User" %}: {{ user.first_name }} {{ user.last_name }} ({{ user.username }})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue