issues
search
kubetail-org
/
kubetail
Web-based, real-time log viewer for Kubernetes
https://www.kubetail.com/demo
Apache License 2.0
301
stars
16
forks
source link
Fixes ansi-to-html bug and adds safe handling of raw log text in DOM
#14
Closed
amorey
closed
4 months ago
amorey
commented
4 months ago
Replaced
ansi-html-community
library with
ansi-to-html
to convert ansi encodings in log messages to html
Changed method of adding log messages to DOM from
innerHTML
to
textContent
to protect against injection attacks
ansi-html-community
library withansi-to-html
to convert ansi encodings in log messages to htmlinnerHTML
totextContent
to protect against injection attacks