Skip to content

Commit

Permalink
fix a vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
dumorando authored Jul 4, 2024
1 parent 29e36c4 commit bf1b110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/users.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1>All users registered on Bark</h1>
userContainer.href = `/profile/${user.username}`;
userContainer.innerHTML = `
<p>${user.username}</p>
<img src="${XSSfix(user.profilepicture)}" alt="${user.username}">
<img src="${user.profilepicture.replaceAll('"', '')}" alt="${user.username}">
<section id="user-tags">
${admins.includes(user.username) ? `<span id="gold">Bark team</span>` : ``}
</section>
Expand Down

0 comments on commit bf1b110

Please sign in to comment.