Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes ansi-to-html bug and adds safe handling of raw log text in DOM #14

Merged
merged 1 commit into from
Feb 20, 2024
Merged

Conversation

amorey
Copy link
Member

@amorey amorey commented Feb 20, 2024

  • 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

@amorey amorey merged commit e6d486f into kubetail-org:main Feb 20, 2024
@amorey amorey deleted the ansi branch February 20, 2024 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant