Skip to content

Commit

Permalink
fix: fix xss issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoesbergen committed Jan 5, 2024
1 parent 29a71e1 commit 91945fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/edit_member.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
</div>
<div class="custom-file" id="customFile" lang="es">
<input type="file" class="custom-file-input" id="id_foto" name="foto"
onchange="$(this).next('.custom-file-label').html($(this).val().split('\\').pop());">
onchange="$(this).next('.custom-file-label').text($(this).val().split('\\').pop());">
<label class="custom-file-label" for="id_foto">
Foto uploaden...
</label>
Expand Down

0 comments on commit 91945fc

Please sign in to comment.