Skip to content

Commit

Permalink
Sanitize URL
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Sep 29, 2024
1 parent 83333f7 commit 449a8f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion welcome/src/pages/Proceed.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const Proceed = () => {
if (isEmpty(inviteRedeemUrl)) {
setShowModal(false);
} else {
window.location.href = inviteRedeemUrl;
window.location.href = DOMPurify.sanitize(inviteRedeemUrl);
}
}

Expand Down

0 comments on commit 449a8f9

Please sign in to comment.