Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fixed xss vulnerability
  • Loading branch information
Dmitry Marov committed Mar 11, 2022
commit 8b06cb7febcab52e58a8de4779f80b88183ba825
2 changes: 1 addition & 1 deletion toastr.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
timeOut: 5000, // Set timeOut and extendedTimeOut to 0 to make it sticky
titleClass: 'toast-title',
messageClass: 'toast-message',
escapeHtml: false,
escapeHtml: true,
target: 'body',
closeHtml: '<button type="button">&times;</button>',
closeClass: 'toast-close-button',
Expand Down