Skip to content

Commit

Permalink
Properly escape text in toastr (#4726) (#4727)
Browse files Browse the repository at this point in the history
(cherry picked from commit 3be835b)
  • Loading branch information
dennisoelkers authored and edmundoa committed Apr 17, 2018
1 parent 9a5ae28 commit 469c923
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions graylog2-web-interface/src/util/UserNotification.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const UserNotification = {
hideDuration: 1000,
timeOut: 10000,
extendedTimeOut: 1000,
escapeHtml: true,
});
},
warning(message, title) {
Expand All @@ -21,6 +22,7 @@ const UserNotification = {
hideDuration: 1000,
timeOut: 7000,
extendedTimeOut: 1000,
escapeHtml: true,
});
},
success(message, title) {
Expand All @@ -32,6 +34,7 @@ const UserNotification = {
hideDuration: 1000,
timeOut: 7000,
extendedTimeOut: 1000,
escapeHtml: true,
});
},
};
Expand Down

0 comments on commit 469c923

Please sign in to comment.