overte
overte copied to clipboard
Sanitize notificationCore text to prevent XSS
This PR sanitizes text in the notificationCore notifications to prevent html embedding. Suggested by @ksuprynowicz.
For more context; the notificationCore script, which is used by a lot of applications to show chat messages, does not do its own sanitation of their text field. This pr makes it so that notificationCore sanitizes it just to be sure.
Just tested this. Nothing breaks, the feature is working as expected.