Skip to content

Commit

Permalink
Properly escape text in toastr (Graylog2#4726)
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundoa authored and dennisoelkers committed Apr 16, 2018
1 parent 9e0acce commit 3be835b
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 3be835b

Please sign in to comment.